On 17 Oct 2023, at 22:39, Fred Licht wrote:
> Hey Eelco, > That is partially the answer. I need to ensure the traffic is only passed > to our connect bond with a unque VLAN ID, but not prevent other > ingress/egress traffic on that same bond. The Mirrored VLAN needs to be > ensured not to be echo’ed/passed to any other vNIC/host on the box. Looking at the documentation, https://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html, you can limit this by setting the correct VLAN assignment: output_vlan: optional integer, in range 1 to 4,095 Output VLAN for selected packets, if nonempty. The frames will be sent out all ports that trunk output_vlan, as well as any ports with implicit VLAN output_vlan. When a mir‐ rored frame is sent out a trunk port, the frame’s VLAN tag will be set to output_vlan, replacing any existing tag; when it is sent out an implicit VLAN port, the frame will not be tagged. This type of mirroring is sometimes called RSPAN. ... > ** Add in any methods to use DPDK accelerations/offloads. > > -Fred > >> On Oct 17, 2023, at 2:58 AM, Eelco Chaudron <echau...@redhat.com> wrote: >> >> >> >> On 16 Oct 2023, at 17:12, Fred Licht via discuss wrote: >> >>> Hi All, >>> I am looking for suggestions/advice on how to setup a configuration. I >>> have found methods on how to VLAN translate, and how to mirror, adding >>> complication of DPDK but not a combined solution. >>> >>> How to mirror all traffic on a given VLAN, translate the mirrored tagged >>> van to a new VLAN ID, and send it back over the same OVS bridge. Ensuring >>> any of the new mirrored data only traverses over the bonded trunk back to a >>> physical switch. >>> >>> VLAN 123 => SPAN/Mirror => VLAN 1123 => OVS Bond => switch >> >> Hi Fred, >> >> Is this what you are trying to accomplish? >> >> https://github.com/openvswitch/ovs/blob/c29ba54018520f957c48d947325ed50c9442b831/Documentation/faq/configuration.rst?plain=1#L121 >> >> //Eelco >> >>> TIA, >>> Fred Licht >>> _______________________________________________ >>> discuss mailing list >>> disc...@openvswitch.org >>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss >> _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss