I have not succeeded to setup vlan bridging even with 4.6. Looking in source code : if_vlan.c : [...] case SIOCSIFFLAGS: /* * We don't support promiscuous mode * right now because it would require help from the * underlying drivers, which hasn't been implemented. */ if (ifr->ifr_flags & (IFF_PROMISC)) { ifp->if_flags &= ~(IFF_PROMISC); error = EINVAL; } break; [...]
In if_ethersubr.c ether_demux() it's easy to see that vlan packets with unicast mac addresses different of parent mac would be dropped. for freebsd 4.4 I have wrote small patch to allow promisc mode on vlan interfaces and bridgiing of vlan interfaces. If you are interested I will renew it for 4.6. regards, misho ----- Original Message ----- From: "Luigi Rizzo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 16, 2002 4:08 PM Subject: Re: Netgraph bridging vlans > On Sun, Jun 16, 2002 at 07:14:14PM +1000, [EMAIL PROTECTED] wrote: > > > > Hello, > > > > I have been working with Netgrpah in bridging vlans using the vtun > > package. I recently tried to extend this to bridging vlans but found that > > native (not netgraph) bridging in 4.6 works with vlans too. > > cheers > luigi > > > it did not work. I think the reason was that the scriptI had been using > > (/usr/share/examples/netgraph/ether.bridge)to happily do bridging between > > two real interfaces seemed not to place the vlan interfaces into PROMISC > > mode. > > > > When I start the ether.bridge I do get a message saying promiscuos mode > > enabled on the vlan1 interface but subsequent "ifconfig" commands do not > > show the flag set on the interface. > > > > Has anybody come across this before ? > > > > I am running i386 hardware and 4.5-RELEASE if that helps. > > > > Thanks. > > > > -- > > Stephen Baxter > > Director - PIPE Networks > > phone : 07 3220 1100/ 0417 818 695 > > fax : 07 3220 1800 > > > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-net" in the body of the message > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message