Re: Bridging LACP PDUs ?

From: Özkan KIRIK <ozkan.kirik_at_gmail.com>
Date: Thu, 10 Nov 2022 17:53:59 UTC
Thanks for the tip!

Lutz Donnerhacke <lutz@donnerhacke.de>, 10 Kas 2022 Per, 17:13
tarihinde şunu yazdı:
>
> On Thu, Nov 10, 2022 at 04:28:50PM +0300, Özkan KIRIK wrote:
> > I'm trying to filter traffic through an uplink cable between two
> > switches. (similar to virtual wire behaviour).
> > So all broadcast & multicast packages should pass to the other port.
> > But pf or ipfw should work for L3+ packages.
>
> So I'd suggest to set up a cross-connect between the interfaces:
>
> # ngctl connect eth0: eth1: lower lower
>
> If you like to filter:
> # ngctl mkpeer eth0: bpf lower left
> # ngctl connect eth0:lower eth1: right lower
>
> Then you can apply any filtering using ng_bpf (by throwing away
> (non)matching traffic to an unconnected hook)