VLAN Trunking with Freebsd

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sun Apr 27 16:07:58 UTC 2008

> This is my config:
> cloned_interfaces="vlan2 vlan3 vlan4 vlan5"
> ifconfig_re0="inet netmask"
> ifconfig_re1="inet netmask"
> ifconfig_bge0="inet a.b.c.d netmask"
> ifconfig_em0="up"
> ifconfig_vlan2=" vlan 2 vlandev em0"
> ifconfig_vlan3=" vlan 3 vlandev em0"
> ifconfig_vlan4=" vlan 4 vlandev em0"
> ifconfig_vlan5=" vlan 5 vlandev em0"
> re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to 
> a switch
> with 802.1q support.

maybe off-topic but when buying switches make sure it's clearly written 
"802.1Q support". There are "VLAN capable" switches, some very cheap, that 
just block traffic between ports except between port 1 and others, but no 
vlan tagging.

More information about the freebsd-questions mailing list