DragonFly users List (threaded) for 2007-03
DragonFly BSD
DragonFly users 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 20:52:20 +0800

On 3/25/07, Gergo Szakal <bastyaelvtars@gmail.com> wrote:
On Sun, 25 Mar 2007 12:03:46 +0800
"Sepherosa Ziehau" <sepherosa@gmail.com> wrote:

<snip>
> >
> > 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

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 workaround: ifconfig xl0 promisc ifconfig xl1 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)

nfe0 is in PPROMISC, i.e. ifconfig nfe0 promisc

Best Regards,
sephe

--
Live Free or Die



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