Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2018 23:26:52 +0500
From:      Abdullah Tariq <ab.tariq90@gmail.com>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        Eugene Grosbein <eugen@grosbein.net>, freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: NETGRAPH- bridge vlans using netgraph help
Message-ID:  <CAPFxuwTb0Z_VWtiFBq00o9VD8GojRTxx1Drrv3EaQRvWmXzRww@mail.gmail.com>
In-Reply-To: <CAOjFWZ62BQ3WZVvpZ0D9UJFcV4stXm-prE=GDp-JconSktQzpA@mail.gmail.com>
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> <CAPFxuwRdLrEmtVHGSruja6L-bcOi0Z59ae5mB1gWgi-PvU6inw@mail.gmail.com> <CAOjFWZ6m=j6aY7nbeppCK9TTAJ1P%2BfN7Hs5sZ3CfWc7Ad4v_cA@mail.gmail.com> <CAOjFWZ62BQ3WZVvpZ0D9UJFcV4stXm-prE=GDp-JconSktQzpA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> If you want to think of it in switch terms, FreeBSD supports access ports
> (untagged vlan) and trunk ports (tagged vlans). But there's no support for
> hybrid ports (tagged vlans with a PVID on the port that adds tags to
> untagged traffic).
>
> What you are trying to do is create a hybrid port with a vlan tag of 5 and
> a PVID of 5, such that untagged traffic from PC1 is allowed into vlan5
> interface. Not going to happen.
>
>


Ok everything clear now, thank you. One last thing, is this not doable with
netgraph either?


On Sat, Apr 28, 2018 at 7:57 PM, Freddie Cash <fjwcash@gmail.com> wrote:

> If you want to think of it in switch terms, FreeBSD supports access ports
> (untagged vlan) and trunk ports (tagged vlans). But there's no support for
> hybrid ports (tagged vlans with a PVID on the port that adds tags to
> untagged traffic).
>
> What you are trying to do is create a hybrid port with a vlan tag of 5 and
> a PVID of 5, such that untagged traffic from PC1 is allowed into vlan5
> interface. Not going to happen.
>
> Cheers,
> Freddie
>
> Typos courtesy of my phone.
>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPFxuwTb0Z_VWtiFBq00o9VD8GojRTxx1Drrv3EaQRvWmXzRww>