Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 20:24:22 +0500
From:      Abdullah Tariq <ab.tariq90@gmail.com>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Freddie Cash <fjwcash@gmail.com>, Eugene Grosbein <eugen@grosbein.net>,  freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: NETGRAPH- bridge vlans using netgraph help
Message-ID:  <CAPFxuwRc%2BsWfwTbKCSs4Rr2pBKJ2V=sV7V78c6f06ip5JPrm3g@mail.gmail.com>
In-Reply-To: <946595c0-8dd5-145f-6c13-c150a053a17c@freebsd.org>
References:  <CAPFxuwQOBkGTHZbGfJz=-fUW8M%2BQGOpTM9T%2B-RO6H4fWcGEtqA@mail.gmail.com> <5AE34CFA.7000207@grosbein.net> <CAPFxuwR54nPiKAAACRY5a_GvDNOVfdniqv6F_3PK4--7vm03uA@mail.gmail.com> <5AE437C1.8010706@grosbein.net> <CAFZYVy7_nVm5G1XDdM_TujN=jVbCyDEKABGbC=M9L5Lh1jAAzQ@mail.gmail.com> <5AE44ADD.7020302@grosbein.net> <CAPFxuwQ=Gi7GiVr%2BsdTavr6r44ftaeFDOvN7%2B3qi_7aZyH6kXw@mail.gmail.com> <5AE468D5.9030702@grosbein.net> <CAPFxuwRdLrEmtVHGSruja6L-bcOi0Z59ae5mB1gWgi-PvU6inw@mail.gmail.com> <CAOjFWZ6m=j6aY7nbeppCK9TTAJ1P%2BfN7Hs5sZ3CfWc7Ad4v_cA@mail.gmail.com> <CAOjFWZ62BQ3WZVvpZ0D9UJFcV4stXm-prE=GDp-JconSktQzpA@mail.gmail.com> <5AE4D1AC.3080702@grosbein.net> <CAOjFWZ7AchG8HEvURSNGXGeqYiYaSn4Uo=rBgGoFqLAbAdOMJw@mail.gmail.com> <5AE75988.3020306@grosbein.net> <CAOjFWZ7uAPJ3EaoLktQ%2BBVTBt7LrKjmhK0FpCY6X3u%2B0YWYGGQ@mail.gmail.com> <5AE75BAD.8030303@grosbein.net> <c2d147cb-122a-4c27-299a-7c518ef1c01e@freebsd.org> <CAOjFWZ7w4Ftu69=Fm1Q8mYqmLnHvVxqeViEprLmEDPP8Pcmf5A@mail.gmail.com> <946595c0-8dd5-145f-6c13-c150a053a17c@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> a picture would do wonders to understand what he wants.


 Apologies for being AWOL
 Attaching an image link: https://ibb.co/nt1s4S

On Tue, May 1, 2018 at 8:39 PM, Julian Elischer <julian@freebsd.org> wrote:

> On 1/5/18 11:16 pm, Freddie Cash wrote:
>
> On Tue, May 1, 2018 at 6:08 AM, Julian Elischer <julian@freebsd.org>
> wrote:
>
>> On 1/5/18 2:08 am, Eugene Grosbein wrote:
>>
>>> 01.05.2018 1:03, Freddie Cash wrote:
>>>
>>> On Mon, Apr 30, 2018 at 10:59 AM, Eugene Grosbein <eugen@grosbein.net
>>>> <mailto:eugen@grosbein.net>>wrote:
>>>>
>>>>      > What the OP is trying to do is have PC1 send untagged packets t=
o
>>>> igb0 on FreeBSD which is configured for tagged vlan 5.
>>>>      > Then bridge the packets to igb1 which is also configured for
>>>> tagged vlan 5.  Then send the packets out, untagged, to PC2.
>>>>
>>>>      Why would one want to "configure igb0 for tagged vlan 5" when igb=
0
>>>> supposed to receive untagged frames?
>>>>      This does not make any sense. One should just bridge igb0 as is,
>>>> without creation vlan on it and problem's solved.
>>>>
>>>> =E2=80=8BYes, agree.  What the OP wants to do can't be done.  :)=E2=80=
=8B
>>>>
>>> Perhaps, you missed a message from him when he states that configuratio=
n
>>> style does no matter for him really.
>>> So, what he wants can be done, just using different style.
>>>
>>>
>>
>> a picture would do wonders to understand what he wants
>> =E2=80=8B.
>>
>
> =E2=80=8BA FreeBSD system with multiple NICs, with separate vlans interna=
lly to
> separate untagged traffic between PCs.=E2=80=8B
>
> https://forums.freebsd.org/threads/bridge-with-vlans-not-working.65592/
>
> =E2=80=8B=E2=80=8Bhttps://forums.freebsd.org/attachments/capture-png.4744=
/
>
> =E2=80=8Bhttps://forums.freebsd.org/threads/bridge-with-vlans-not-
> working.65592/#lg=3Dpost-385584&slide=3D0
>
> =E2=80=8BThe "easy" solution is to just bridge together the interfaces yo=
u want to
> be part of the same "virtual lan", thus allowing traffic between those
> stations only.  Want PC1 and PC2 to be part of one vlan?  Then bridge
> together igb0 and igb1.  Want PC3, connected to igb2, and PC4, connected =
to
> igb3, to be part of a separate "virtual lan"?  Then create a separate
> bridge between igb2 and igb3. No vlan tags required anywhere.
>
>
> ok so does he want to have those vlans terminated at his box or just pass
> them through?
> and if they are untagged,  why is it being called a vlan?
> untagged vlan is what we call "ethernet".
>
> if it's untagged then only the internal state of the switches decides
> which "virtual network" it is on..
>
>
>
>
> But, the OP (in the forum thread and here) keeps getting hung up on
> "needing" vlan tags on the NICs, trying to treat the FreeBSD box like a
> switch with hybrid ports and PVIDs set on the ports.
>
> --
> Freddie Cash
> fjwcash@gmail.com
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPFxuwRc%2BsWfwTbKCSs4Rr2pBKJ2V=sV7V78c6f06ip5JPrm3g>