Date: Mon, 17 Jun 2002 08:01:11 +1000 (EST) From: <steve@pipenetworks.com> To: Mihail Balikov <misho@interbgc.com> Cc: <freebsd-net@FreeBSD.ORG> Subject: Re: Netgraph bridging vlans Message-ID: <Pine.LNX.4.33.0206170756380.19605-100000@internal.pipenetworks.com> In-Reply-To: <004701c2153d$28068720$eee209d9@interbgc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mihail, > 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. I am very interested :-) Any chance it would work on 4.5 ? SB > > regards, > misho > > > > > ----- Original Message ----- > From: "Luigi Rizzo" <rizzo@icir.org> > To: <steve@pipenetworks.com> > Cc: <freebsd-net@FreeBSD.ORG> > Sent: Sunday, June 16, 2002 4:08 PM > Subject: Re: Netgraph bridging vlans > > > > On Sun, Jun 16, 2002 at 07:14:14PM +1000, steve@pipenetworks.com 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 majordomo@FreeBSD.org > > > with "unsubscribe freebsd-net" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > -- Stephen Baxter Director - PIPE Networks phone : 07 3220 1100/ 0417 818 695 fax : 07 3220 1800 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0206170756380.19605-100000>