Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2018 00:40:58 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>, Abdullah Tariq <ab.tariq90@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: NETGRAPH- bridge vlans using netgraph help
Message-ID:  <db5f5ca9-dd26-ce97-f557-de85e0191cb3@freebsd.org>
In-Reply-To: <5AE468D5.9030702@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> <CAPFxuwQ5TwZnnW%2B1TT7urq_0pgb=sM_VwH4x0eq0363MCdb7hw@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/4/18 8:28 pm, Eugene Grosbein wrote:
> 28.04.2018 19:10, Abdullah Tariq wrote:
>
>>        However, we still have several ways to bridge tagged traffic
>>      by means of creation multiple bridges (one per vlan) or using ng_vlan+ng_bridge to do the same.
>>
>> bridge1 will contain vlan 1
>> bridge2 will containn vlan2
>>
>> and bridge3 should have bridge1 and bridge2?
> No, its simplier: single bridge contains all interfaces corresponting to ports of single vlan.
> You can bridge plain igb* interfaces for untagged ports; or bridge interface igbX with interface vlanY
> when one port carries untagged frames of vlan and another ports carries tagged frames of the same vlan;
> or bridge interface vlans together when all of them carry tagged frames of the vlan.
>
>> If not, can you please give some instructions/guidelines for   ng_vlan+ng_bridge?
> I still think you should not dive into building complex netgraph structures
> while the task can be solved simplier. But if you want to take that path, start by
> reading man ng_vlan, man ng_ether, man ng_bridge and man ng_eiface and try examples therein.

and read this:
https://people.freebsd.org/~julian/netgraph.html

>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db5f5ca9-dd26-ce97-f557-de85e0191cb3>