Date: Fri, 27 Apr 2018 20:57:55 +0500 From: Abdullah Tariq <ab.tariq90@gmail.com> To: Eugene Grosbein <eugen@grosbein.net> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: NETGRAPH- bridge vlans using netgraph help Message-ID: <CAPFxuwQ5TwZnnW%2B1TT7urq_0pgb=sM_VwH4x0eq0363MCdb7hw@mail.gmail.com> In-Reply-To: <5AE34754.6040905@grosbein.net> References: <CAPFxuwQOBkGTHZbGfJz=-fUW8M%2BQGOpTM9T%2B-RO6H4fWcGEtqA@mail.gmail.com> <5AE216DC.7010905@grosbein.net> <CAPFxuwSEDTNhfn1%2B1nXPAC6skJt%2BdAych10FN9bwwBVdqevO2w@mail.gmail.com> <5AE33513.1000001@grosbein.net> <CAPFxuwRceDDoTw-4EohRdjUMSE-YN4YKWhbObuvEpxzEWOh2_A@mail.gmail.com> <5AE34754.6040905@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > And please do not top-post and reply to the list, not privately. Thank you. sorry for that. > > They do but that's not what you need. You deal with untagged frames on > igb5, > so do not create any vlan on top on igb5 but use it directly: > ifconfig bridge10 create addm igb5 addm vlan3 up so if i need 2 ports with same vlan tags to communicate with each other i create 2 bridges ifconfig vlan2 create vlan 5 vlandev igb5 ifconfig vlan3 create vlan 5 vlandev igb6 ifconfig bridge10 create addm igb5 addm vlan3 up ifconfig bridge11 create addm igb6 addm vlan2 up is this the right way? On Fri, Apr 27, 2018 at 8:52 PM, Eugene Grosbein <eugen@grosbein.net> wrote: > 27.04.2018 21:39, Abdullah Tariq wrote: > > > > No, i am trying to bridge untagged frames between vlans of these > interfaces. Is it doable? > > > > Sure. If you need to accept untagged frames from igb5, add tag 5 and > send over igb6, > > just create a bridge and add igb5 and vlan2 (vlan 5 vlandev igb6) to > the bridge. > > > ok sounds good but when i use following config > > > > ifconfig vlan2 create vlan 5 vlandev igb5 > > ifconfig vlan3 create vlan 5 vlandev igb6 > > ifconfig bridge10 create addm vlan2 addm vlan3 up| > > > > then it doesnt work.. 2 vlans with same tag dont work? > > They do but that's not what you need. You deal with untagged frames on > igb5, > so do not create any vlan on top on igb5 but use it directly: > > ifconfig bridge10 create addm igb5 addm vlan3 up > > And please do not top-post and reply to the list, not privately. Thank you. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPFxuwQ5TwZnnW%2B1TT7urq_0pgb=sM_VwH4x0eq0363MCdb7hw>