Date: Sun, 26 Nov 2023 23:24:00 +0100 From: Marko Zec <zec@fer.hr> To: Benoit Chesneau <benoitc@enki-multimedia.eu> Cc: Vincenzo Maffione <vmaffione@freebsd.org>, "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: how to cross-connect 2 interfaces Message-ID: <20231126232400.3018be2d@x25> In-Reply-To: <N1rH7s4QTvo2LOvnjsVE7xwv2tGxUgyCK3727yVKdFQrGCKn4D-ZpF2eHqGJYVxQfG6E5mv3zEgdlTWIlhAY71id_tG763vNME1-rIgj6PM=@enki-multimedia.eu> References: <dzyrey2PbKgO4MIYWufu_gLvfHdHPjheBkY44c_uqmcWzw8bRuncCsFpYMhBEF_wRh0ybgStoD19E13OMLBml2AY9dJ5J0a1yYRBka-dDKw=@enki-multimedia.eu> <F23A1465-9126-46EA-88B1-9D953223CAB6@netgate.com> <wQNVeghU7CYikP3o8ybvMYvCejYImX5JdyokER7JQe_Iu27TjyshUXlWrZtViylujg-qjv3sd-dp326_BIP-HV-iAFdwveuUFMyH1Y7_N9o=@enki-multimedia.eu> <CA%2B_eA9hA=nxeX3ZCFS5DQoDpR5V=qXTdA2u17x%2BtuNNROJipqQ@mail.gmail.com> <N1rH7s4QTvo2LOvnjsVE7xwv2tGxUgyCK3727yVKdFQrGCKn4D-ZpF2eHqGJYVxQfG6E5mv3zEgdlTWIlhAY71id_tG763vNME1-rIgj6PM=@enki-multimedia.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Nov 2023 21:35:50 +0000 Benoit Chesneau <benoitc@enki-multimedia.eu> wrote: > Thanks! I guess though it will only work for HW interfaces, not with > vxlan interfaces? If your goal is to brute-force patch two vxlans together then patch them directly using netgraph: kldload ng_ether ngctl connect vxlan0: vxlan1: lower lower no need for ng_hub or anything else inbetween... > Beno=C3=AEt > On Sunday, November 26th, 2023 at 21:43, Vincenzo Maffione > <vmaffione@freebsd.org> wrote: >=20 > > Or, the netmap(4) bridge example > > > > On Sun, Nov 26, 2023, 12:40 PM Benoit Chesneau > > <benoitc@enki-multimedia.eu> wrote:=20 > >> thanks, I didn't noticed this one. > >> > >> Beno=C3=AEt Chesneau, Enki Multimedia > >> =E2=80=94 > >> 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:=20 > >>> ng_hub(4) > >>> =20 > >>>> On Nov 25, 2023, at 8:34=E2=80=AFAM, Benoit Chesneau > >>>> <benoitc@enki-multimedia.eu> wrote: =20 > >>> =20 > >>>> =EF=BB=BF > >>>> Is there a way to cross-connect 2 interfaces without using a > >>>> bridge . Something similar to the command =CB=8Bl2 xconnect` in vpp > >>>> (or cisco) : > >>>> [https://docs.fd.io/vpp/16.12/vnet_vnet_l2.html](https://www.google.= com/url?q=3Dhttps%3A%2F%2Fdocs.fd.io%2Fvpp%2F16.12%2Fvnet_vnet_l2.html&ust= =3D1701531263000000&usg=3DAOvVaw3gotHKi-LVQOb_H5p6W-4d) > >>>> This could be quite handy to create a patch between diffrent > >>>> machines in the network. > >>>> > >>>> Beno=C3=AE =20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231126232400.3018be2d>