VLAN Trunking with Freebsd
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Mon Apr 28 18:54:59 UTC 2008
> If you are just creating from the command line and want cisco router like
> subinterfaces, the following works (I have the vlan module built into my
> kernel might need to load it otherwise.)
> root at crab
> (19:22:09 <~>) 0 # ifconfig bge0.1
> ifconfig: interface bge0.1 does not exist
> root at crab
> (19:22:13 <~>) 0 # ifconfig bge0.1 create
> root at crab
> (19:22:15 <~>) 0 # ifconfig bge0.1
> bge0.1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=3<RXCSUM,TXCSUM>
> ether 00:e0:81:2d:a3:16
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> vlan: 1 parent interface: bge0
> root at crab
> (19:22:17 <~>) 0 # ifconfig bge0.1 destroy
>
> Not certain how thats represented in rc.conf, Will have a look.
ifconfig_bge0.1="create ip_address/mask"
should work
More information about the freebsd-questions
mailing list