DragonFly submit List (threaded) for 2007-03
DragonFly BSD
DragonFly submit List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: VLAN issues


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Sun, 25 Mar 2007 12:03:46 +0800

On 3/25/07, Gergo Szakal <bastyaelvtars@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]