DragonFly users List (threaded) for 2007-03
Re: VLAN issues
On 3/25/07, Gergo Szakal <firstname.lastname@example.org> wrote:
On Sun, 25 Mar 2007 12:03:46 +0800
"Sepherosa Ziehau" <email@example.com> wrote:
> > 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?
> Best Regards,
> Live Free or Die
Thanks Sephe, applied the patch, now vlan interfaces get activated correctly. However, forwarding still does not work. Here are a couple issues:
1) I have to 'addm' the VLAN interfaces to the bridge manually (they get added correctly then, this did not work at all before).
Does the addm work now?
2) When I try to tcpdump bridge0, I get 'network is down'. I also have to 'up' bridge0 manually.
Do you mean bridge0 is not up if it is configured in rc.conf?
3) There are still no packets going through. :-(
Things are a little bit complicated here, so I will need to talk to
other developers when I have a clear solution, but I have a temporary
ifconfig xl0 promisc
ifconfig xl1 promisc
nfe0 is in PPROMISC, i.e. ifconfig nfe0 promisc
I have tested it with following configuration (I am short of cross
cables in home :P, so only one side is using vlan)
em0 <---> re0 | bridge0 | vlan0(nfe0) <---> vlan0(xl0)
Live Free or Die