VLAN Trunking with Freebsd

Nejc Škoberne nejc at skoberne.net
Sun Apr 27 15:51:16 UTC 2008


> I am sure this topic has been discussed before, however, I have been
> coming across unanswered inquiries within the last two months about
> possibly using the trunking aspect of 802.1q standard network routing,
> with only freebsd.  
> I have attempted to create mulitple vlan interfaces and have failed, on
> 6.3-Stable.  
> Does anyone know if the vlan emplimentation on Freebsd allows for
> trunking or, at the least, multiple vlans per physical device?

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_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.


More information about the freebsd-questions mailing list