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 192.168.1.62 netmask 255.255.255.192"
> ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128"
> ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240"
> ifconfig_em0="up"
> ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0"
> ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0"
> ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0"
> ifconfig_vlan5="192.168.100.1 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