VLAN issues

Sepherosa Ziehau sepherosa at gmail.com
Sat Mar 24 21:04:06 PDT 2007


On 3/25/07, Gergo Szakal <bastyaelvtars at gmail.com> wrote:
Ok, continuing this old discussion:
http://tinyurl.com/2a7qda
Installed 1.8.0, applied the patch, rebuilt GENERIC and rebooted. Loading if_vlan.ko and if_bridge.ko from loader.conf.

Well, this is my rc.conf file:

------------------------------------------------------------------------------
cloned_interfaces="bridge0 vlan0 vlan1 vlan2 vlan3"
ifconfig_vlan0="vlan 11 vlandev xl0 up"
ifconfig_vlan1="vlan 12 vlandev xl0 up"
ifconfig_vlan2="vlan 11 vlandev xl1 up"
ifconfig_vlan3="vlan 12 vlandev xl1 up"
ifconfig_xl0="up"
ifconfig_xl1="up"
ifconfig_bridge0="addm vlan0 addm vlan1 addm vlan2 addm vlan3 up"
------------------------------------------------------------------------------
My issues:
1) No pseudo-interfaces get up. I have to "ifconfig xxxn up" them manually.
It is a bug in vlan code: when set up vlan config, vlan's if_flags
will be overwritten :(
2) VLAN interfaces do not get added as bridge0 members.
vlan does not support promisc mode in current code base

Any ideas?
Would you like to test following patch?
http://leaf.dragonflybsd.org/~sephe/vlan.diff
Best Regards,
sephe
--
Live Free or Die




More information about the Submit mailing list