Re: how to cross-connect 2 interfaces

From: Vincenzo Maffione <vmaffione_at_freebsd.org>
Date: Sun, 26 Nov 2023 22:48:47 UTC
I've never tried with vxlan interfaces... But in principle it should work
(emulated netmap mode enables netmap on any interface at reduced
performance).
However, in your case a good deal of packet processing already happens
within the kernel (vxlan encapsulation) so I would definitely go for a
kernel approach such as netgraph.

Vincenzo

On Sun, Nov 26, 2023, 10:36 PM Benoit Chesneau <benoitc@enki-multimedia.eu>
wrote:

> Thanks! I guess though it will only work for HW interfaces, not with vxlan
> interfaces?
>
> Benoît
> On Sunday, November 26th, 2023 at 21:43, Vincenzo Maffione <
> vmaffione@freebsd.org> wrote:
>
> Or, the netmap(4) bridge example
>
> On Sun, Nov 26, 2023, 12:40 PM Benoit Chesneau <benoitc@enki-multimedia.eu>
> wrote:
>
>> thanks, I didn't noticed this one.
>>
>> Benoît Chesneau, Enki Multimedia
>> —
>> t. +33608655490
>>
>> Sent with Proton Mail <https://proton.me/> secure email.
>>
>> On Saturday, November 25th, 2023 at 23:30, Jim Thompson <jim@netgate.com>
>> wrote:
>>
>> ng_hub(4)
>>
>> On Nov 25, 2023, at 8:34 AM, Benoit Chesneau <benoitc@enki-multimedia.eu>
>> wrote:
>>
>> 
>> Is there a way to cross-connect 2 interfaces without using a bridge .
>> Something similar to the command ˋl2 xconnect` in vpp (or cisco) :
>> https://docs.fd.io/vpp/16.12/vnet_vnet_l2.html
>> <https://www.google.com/url?q=https%3A%2F%2Fdocs.fd.io%2Fvpp%2F16.12%2Fvnet_vnet_l2.html&ust=1701531263000000&usg=AOvVaw3gotHKi-LVQOb_H5p6W-4d>
>> This could be quite handy to create a patch between diffrent machines in
>> the network.
>>
>> Benoît
>>
>>
>>
>