On Sat, 21 Oct 2006, Peter Ankerst?l wrote:

I've looked all over the web for some tutorials on how to create sub-interfaces i FreeBSD..
Something like fxp0.1

Do you mean just additional addresses on an interface like
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html
this doesnt give the command line which would be
ifconfig fxp0 alias 1.2.3.4/24
if you wished to add a new address of 1.2.3.4 with a 24 bit netmask to your fxp0 interface.

otherwise if you mean something more like a cisco subinterface on a specific vlan, load the vlan module if needed, then
ifconfig fxp0.1 create
should create a subinterface like

fxp0.1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:50:8b:03:6d:00
        media: Ethernet 100baseTX <full-duplex>
        status: active
        vlan: 1 parent interface: fxp0


Vince


Should I use ng_ ?
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to