modern NIC to use a mellanox connectx-4

2023-11-07 Thread Benoit Chesneau
Hi all, Reading the Freebsd 14.0 changes it seems that netfli xsponsors the removal of old drivers. Not sure what it means exactly, but as of todaty which kind of full featured NIC for servers we can use that bring at least 2x25G ? By full featured I mean good support of SR-IOV and netmap

how to setup the host interfacce with sriov and mlx5en(4) driver

2023-09-23 Thread Benoit Chesneau
Hi all, I am trying to understand how works sriov with the mlx5en(4) driver. In particularly should Isetup the VF-0 as passthrough false? On intel NIC i would have to set one of the VF not passthrough for the host. It seems that sr-iov is behaving differently on mellanox: even if all VFs are

ipv6 only host and no IPV4 in jail?

2023-10-02 Thread Benoit Chesneau
Hi all, I have a weird issue there, I have an ipv6 only host aon which I am starting a jail.Jalil have a vnet interface through a bridge created on the host: For some reason the jail can't get access and is not accessible to internet when I setup an IPV4 on it (and right gateway). Is this

linux xdp vs netgraph

2023-10-05 Thread Benoit Chesneau
I may be wrong but xdp linux looks a lot like netgraph. Packets are processed at kernel level and we can chain instructions over them. Is there any comparison of their features around?

performance of netgraph vs bridge

2023-10-08 Thread Benoit Chesneau
Before I am doing some performance tests myself, did someone comparend netgraph ng_bridge vs if_bridge with recent multi thread additions in netgraph ? The advantage I see in using netgraph is remooving the need of using tap interfaces and instead using netgraph sockets. Which seems to be more

Re: ipv6 only host and no IPV4 in jail?

2023-10-04 Thread Benoit Chesneau
It works, over IPv6. I don't get any error. WHen I launch dh-client manually I get an IP. But when setting the if the rc.conf doesn't add an IPv4. This is odd. Benoît --- Original Message --- On Monday, October 2nd, 2023 at 12:30, felix.reichenber...@tuta.io wrote: > Hi, > > since

performance of ng_vlan vs using vlan ether?

2022-04-20 Thread Benoit Chesneau
Hi, Is there any high performance penalty to use ng_vlan and from here hook different vlans compared to use the vlan interface. To my knowledge the vlan interface is using the hardware filter on the card when it's available and the ng_vlan is not. But nowadawas with CPUs is the perforance too

Re: how to bridge "native" vlan?

2022-04-21 Thread Benoit Chesneau
Sorry the right config is: ``` ETHER_IF=lagg0 ngctl -f- < wrote: > I have an interface on which multiple vlans are connected. I would like to > bridge the vlan 100 and 200 but also have a bridge for the "native" vlan 1. I > Can setup a bridge for vlan 100 and 200 the way below I think but

how to bridge "native" vlan?

2022-04-21 Thread Benoit Chesneau
I have an interface on which multiple vlans are connected. I would like to bridge the vlan 100 and 200 but also have a bridge for the "native" vlan 1. I Can setup a bridge for vlan 100 and 200 the way below I think but how to create a bridge for  the "native" vlan? ``` ETHER_IF=lagg0 ngctl

Re: how to bridge "native" vlan?

2022-04-26 Thread Benoit Chesneau
:11:54PM +0200, Patrick M. Hausen wrote: > > > > Am 21.04.2022 um 11:29 schrieb Benoit Chesneau beno...@enki-multimedia.eu: > > > I have an interface on which multiple vlans are connected. I would like > > > to bridge the vlan 100 and 200 but also have a bridge for the &q

Re: how to bridge "native" vlan?

2022-04-23 Thread Benoit Chesneau
> Hello, > > > Am 21.04.2022 um 11:29 schrieb Benoit Chesneau beno...@enki-multimedia.eu: > > I have an interface on which multiple vlans are connected. I would like to > > bridge the vlan 100 and 200 but also have a bridge for the "native" vlan 1. > > I Can s

fib with ssh

2023-11-10 Thread Benoit Chesneau
I have setup 1 fib for normal routing and 1 for OOB, SSH should be able to run in the 2 networks handled in different fibs. How to have ssh working in 2 fibs? Any help / link is appreciated :) Benoît Chesneau, Enki Multimedia — t. +33608655490 Sent with [Proton Mail](https://proton.me/) secure

Re: tap0 don't receive anything in a vm

2022-05-15 Thread Benoit Chesneau
f : > > net.link.tap.up_on_open=1 > net.inet.ip.forwarding=1 > > Il giorno dom 15 mag 2022 alle ore 14:33 Benoit Chesneau > ha scritto: > >> My goal is to setup a p2p connection between the host and a guest vm and use >> the host as the nethop for the vm. I'm uskng bhyve

tap0 don't receive anything in a vm

2022-05-15 Thread Benoit Chesneau
My goal is to setup a p2p connection between the host and a guest vm and use the host as the nethop for the vm. I'm uskng bhyve for this setup: 1. on the host i create a tap tap0 interface and assign to it the IP 10.1.0,1 2. i create and start the vm using vm-bhyve. 3. in the vm I set the vtnet0

Re: tap0 don't receive anything in a vm

2022-05-15 Thread Benoit Chesneau
> Does 10.2.0.1 have a route back to the guest? hrm no, 10.1.0.0 is only internal to the machine indeed... that's probably it :) I need to find a way to expose these ips indeed . Thanks for the hint. Benoît

qlnxe driver and SR-iOV ? VF driver unknown

2022-07-10 Thread Benoit Chesneau
I have an HPE branded 2x25G qlogic card (HPE Eth 1G 2p 368i/10G 2p 568FLR-MMSFP+ Adptr 866467-B21) which support SR-IOV. I have enabled it using the following configuration below. I confirmed SR-IOV is enabled and when running the pciconf command I see the VFs. Unfortunately the VI I set with

Forward error correction (FEC) and qlnxe driver

2022-07-25 Thread Benoit Chesneau
Is this possible to set the FEC mode on a qlnxe interface? I have plugged a non officiall CISCO 100G DAC on the HPE Eth 4x25Gb 1p 620QSFP28 Adptr" card (817762-B21) but I get the following on freebsd side: ``` ifconfig -v ql0 ql0: flags=8843 metric 0 mtu 1500 options=507bb

Re: how to bridge "native" vlan?

2022-04-27 Thread Benoit Chesneau
-- On Tuesday, April 26th, 2022 at 12:08, Benoit Chesneau wrote: > I am trying > > `mkpeer vlan0: bridge 100`but so fat it is returningan error. Should I create > the node first? > > > > Benoît Chesneau > > Sent with ProtonMail secure email. > --- Original Mes

Re: how to bridge "native" vlan?

2022-04-27 Thread Benoit Chesneau
i figured it was "link0" and not > "0" :) . But the notmatch bridge will only receive the native vlan it seems. > Is there a way to get all the other tags, ie not filtered, as well? > > Benoît > > --- Original Message --- > On Tuesday, April 26th, 2022 at 12

Re: issue with ng_vlan nomatch connected to the bridge

2022-04-29 Thread Benoit Chesneau
--- Original Message --- On Friday, April 29th, 2022 at 09:53, Benoit Chesneau wrote: >> To quickly test, I created an interface added to the bridge that get its IP >> from DHCP: The IP is correctly given by the DHCP server, but I can't ping >> from the same

Re: issue with ng_vlan nomatch connected to the bridge

2022-04-29 Thread Benoit Chesneau
> root@test:~ # dhclient vtnet0.101 > DHCPDISCOVER on vtnet0.101 to 255.255.255.255 port 67 interval 3 > DHCPDISCOVER on vtnet0.101 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on vtnet0.101 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on vtnet0.101 to 255.255.255.255 port 67

Re: issue with ng_vlan nomatch connected to the bridge

2022-04-29 Thread Benoit Chesneau
. +33608655490 Sent with [ProtonMail](https://protonmail.com/) secure email. --- Original Message --- On Friday, April 29th, 2022 at 09:17, Benoit Chesneau wrote: > I have an issue with the way the nomatch hook is working. I have linked the > nomatch hook from a lan to a bridge but I can on

Re: issue with ng_vlan nomatch connected to the bridge

2022-04-29 Thread Benoit Chesneau
> To quickly test, I created an interface added to the bridge that get its IP > from DHCP: The IP is correctly given by the DHCP server, but I can't ping > from the same server (the router with the DHCP server) to this device. > > ``` > # ngctl mkpeer public: eiface link2 ether > # dhclient

issue with ng_vlan nomatch connected to the bridge

2022-04-29 Thread Benoit Chesneau
I have an issue with the way the nomatch hook is working. I have linked the nomatch hook from a lan to a bridge but I can only get the native vlan in it. I can't even ping new link added to this bridge. Maybe I am missing some connection? My goal is to be able to catch non filtered vlan in an

Re: 25/100 G performance on freebsd

2022-08-22 Thread Benoit Chesneau
SR-IOV you can pass a VF to the Jail, > some NICs allow creating L2 "high speed" switches in the card ( never used > one). > > Regarding L3 (in-kernel), the overhead will be bigger than using vale, but > then you can leverage multi-path, VXLAN termination, IPF

25/100 G performance on freebsd

2022-08-08 Thread Benoit Chesneau
For some reasons. I can’t use SR-IOV on my freebsd machines (HPE DL160 gen10) with latest 25G HPE branded cards. I opened tickets for that but since then no move happened. So I wonder id there is a good setup to use these cards with the virtualization. Which kind of performance should I expect

what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
I have setup 3 nodes on a fresh Freebsd 13.1-RELEASE-p1. They have the same gateway and IPS are in same /64. All 3 nodes are on the same switch (mikrotik) and same vlan untagged. I can ping them from an external machine through the router/gateway but the nodes can't ping each others. When I

qlnxe(4) not loaded during installation

2022-08-14 Thread Benoit Chesneau
Is there any reason to not have qlnxe(4) available during installation? I can of course load it from the shell, but what is the reason to not have it available like others drivers? Is this maintained? Benoît

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
use it to boot the machine. (BTW: for me this does not work well > enough, so I run rtsold explicitly.) Setting accept_rtadv by ifconfig will > not run rtsol. > > Regards, > Ronald. > > Van: Benoit Chesneau > Datum: maandag, 15 augustus 2022 11:25 > Aan: Benoit Chesneau

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
; > My rc.conf config has: > ifconfig_genet0_ipv6="inet6 accept_rtadv" > > Can you post the output of "ifconfig" and "ipfw show"? > Can you ping the link-local address of the other hosts? > > Regards. > Ronald. > > Van: Benoit Chesneau > D

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
I mean it would be better if I could be IPv6 only but that a good first step :) Benoît > Setting the IPv4 makes it works indeed! How did you find it? I will open a > ticket about it. > > Thanks a lot to both of you anyway :) >

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
onfig has: >> ifconfig_genet0_ipv6="inet6 accept_rtadv" >> >> Can you post the output of "ifconfig" and "ipfw show"? >> Can you ping the link-local address of the other hosts? >> >> Regards. >> Ronald. >> >> Van: Benoit

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
here is the ticket opened: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265857 Thanks again for the help :) Benoît --- Original Message --- On Monday, August 15th, 2022 at 13:21, Benoit Chesneau wrote: > I really have to assign an IP address. 8t wasn't enough when I just ad

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
stand what is the issue :/ Benoît --- Original Message --- On Monday, August 15th, 2022 at 11:53, Benoit Chesneau wrote: > Unfortunately I get the same results with rtsold enabled and the interface > up. It doesn't seems related to teh switch since link-local ping wo

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
Setting the IPv4 makes it works indeed! How did you find it? I will open a ticket about it. Thanks a lot to both of you anyway :) Benoît --- Original Message --- On Monday, August 15th, 2022 at 13:01, Michael Gmelin wrote: > > On Mon, 15 Aug 2022 10:07:54 +0000 &g

Re: what to check? no IPV6 pings between nodes on the same switch

2022-08-15 Thread Benoit Chesneau
I really have to assign an IP address. 8t wasn't enough when I just addes "up". The driver is old maybe there have been some fixes since in linux version. Benoît On Mon, Aug 15, 2022 at 13:18, Michael Gmelin wrote: > On Mon, 15 Aug 2022 11:11:41 +0000 > Benoit Chesneau wro

Re: 25/100 G performance on freebsd

2022-08-12 Thread Benoit Chesneau
c tests with iperf3 and >> TSO/LRO enabled). >> >> @Michael Dexter is working on a document that contains configuration >> examples and test results for the different network backend available in >> bhyve. >> >> If you need help, let me know and we can set up a call

Re: 25/100 G performance on freebsd

2022-08-13 Thread Benoit Chesneau
p, let me know and we can set up a call. > Take care. > Santi > > On 8/8/22 08:57, Benoit Chesneau wrote: > >> For some reasons. I can’t use SR-IOV on my freebsd machines (HPE DL160 >> gen10) with latest 25G HPE branded cards. I opened tickets for that but >>

ng_eth: can't achieve 10G throughput

2022-11-29 Thread Benoit Chesneau
hi all , I've an issue to achieve goos performance using netgraph thatis not reproduced with a if_bridge interface. I have setup my network using netgraph like this: https://www.friendpaste.com/4zrXvdx1l5fjDRG1oheHMN I am using ngeth1 as main port and setup it to 10G connected to a bridge

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
--- Original Message --- On Wednesday, June 14th, 2023 at 12:36, Alexander Chernikov wrote: > > On 14 Jun 2023, at 11:26, Benoit Chesneau beno...@enki-multimedia.eu wrote: > > > > I found an interresting log in dmesg (see below). Not sure how it can > >

issue with bird next hop

2023-06-15 Thread Benoit Chesneau
Hi all, i've some issue when using bird with a loopback for an rr . I have the loopback lo1 with the public IP 1.1.1.1. remote 1.1.1.2 is connected via a vlan. The issue is that the netx hop is set to the vlan static IP instead of the local address set in the configuration. What could be the

Re: issue with bird next hop

2023-06-15 Thread Benoit Chesneau
, 2023 at 13:35, Stephane Rochoy wrote: > Benoit Chesneau beno...@enki-multimedia.eu writes: > > > … What could be the issue? > > > > More infos below. Hope It helps. > > > > # ifconfig lo1 > > lo1: flags=8049 metric 0 mtu > > 16384 > > opt

Re: issue with bird next hop

2023-06-15 Thread Benoit Chesneau
, June 15th, 2023 at 14:42, Stephane Rochoy wrote: > Benoit Chesneau beno...@enki-multimedia.eu writes: > > > Thanks for the hint. Unfortunately when I am setting it to /30 > > the machine stop to be advertised :/ Most probably because /30 > > will be routed locally? &g

macvlan like interface ?

2023-06-02 Thread Benoit Chesneau
I read this old post : https://forums.freebsd.org/threads/second-mac-address-to-a-network-adapter.32176/#post-612587 Would ng_eiface + ng_bridge really replace a macvlan [1] [2] interface ? What would be the other way to have such interface? Benoît [1]

how to increase the vnet speed?

2023-05-23 Thread Benoit Chesneau
Hi all, I've created a jail using bastille and setup network. The mainin terface is a 25Gbps nic and between hosts I get 24.6 Gbits/sec : [ ID] Interval Transfer Bitrate[ 5] 0.00-1.00 sec 2.87 GBytes 24.6 Gbits/sec [ 5] 1.00-2.00 sec 2.88 GBytes 24.7 Gbits/sec [ 5] 2.00-3.00 sec 2.87 GBytes

how to use fib and bird

2023-06-06 Thread Benoit Chesneau
Hi, I'm trying to advertise and get routing info via BGP andbird in a distinct fib but it seems that bird is always trying to connect to peers on the Fib 0. I tried the following configuration: ``` protocol bgp transit_ipv4_1 {     local A.B.C.1 as ;     neighbor A.B.C.0 as

Re: macvlan like interface ?

2023-06-06 Thread Benoit Chesneau
I agree it looks like just a shortcut, though it seems it's optimiszed at the kernel level to reduce the exchanges in memory. But unsure > > NB2: What are you trying to accomplish? I wanted a cheap way to expose and connect between themselves the vms. No need for the bridge, to learn since

Re: how to increase the vnet speed?

2023-05-24 Thread Benoit Chesneau
sender [ 5] 0.00-10.00 sec 18.7 GBytes 16.0 Gbits/sec receiver ``` Benoît --- Original Message --- On Tuesday, May 23rd, 2023 at 23:15, Marko Zec wrote: > On Tue, 23 May 2023 19:58:07 + > Benoit Chesneau beno...@enki-multimedia.eu wrote: > &

IPv6 DAD issue

2023-08-12 Thread Benoit Chesneau
I read different forums and blog [1] and it seems that the DAD issue is occurring offen with jails and is not only related to mce [2] . Is there any trick as of today that would help to fix it? I have tempted to report also on the forum but didn't get any answer yet [3] I always need for now

Re: issue with bird next hop

2023-06-16 Thread Benoit Chesneau
--- On Thursday, June 15th, 2023 at 14:48, Benoit Chesneau wrote: > I see. This may indeed be related... > > The current route is learnt using OSPF. This is weird to not have it using > the source address configured in bird though:/ > > Benoît Chesneau, Enki Multimedia >

Re: issue with bird next hop

2023-06-15 Thread Benoit Chesneau
Should I better use `tap` instead of `lo` interface with bird? On linux they are using a dummy interface for it, so I'm wondering Benoît --- Original Message --- On Thursday, June 15th, 2023 at 14:48, Benoit Chesneau wrote: > I see. This may indeed be related... > > Th

Re: issue with bird next hop

2023-06-16 Thread Benoit Chesneau
Is this behaviour expected? Can we replace the next hop to remove the need of a nat? --- Original Message --- On Friday, June 16th, 2023 at 12:24, Benoit Chesneau wrote: > After doing more testing onf Freebsd 13.2 , bird 2.13: > > When 1.1.1.1/31 and 1.1.1.2/31 are set on

can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
Hi, When I setup a loopback to a /32 , I can add a /24 as a blackhole route anymore. I can only create a /24 attached to this looopback. Ie. when `lo1` is set to `1.1.1.1/32` I cant create a blackhole route to `1.1.1.0/24` using the command : ` route add 1.1.1.0/24 -blackhole` . Is there any

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
at 10:38, Benoit Chesneau wrote: > Hi, > > Thanks for your answer. I'm using Freebsd 13.2 latest version: > > $ uname -srm > FreeBSD 13.2-RELEASE amd64 > > I edited the filtred result of the table since it has a full view: > > netstat -4rnW |grep -e "1.1.1&q

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
e it helps, Benoît --- Original Message --- On Wednesday, June 14th, 2023 at 10:29, Alexander Chernikov wrote: > > On 14 Jun 2023, at 07:05, Benoit Chesneau beno...@enki-multimedia.eu wrote: > > > > Hi, > > > > When I setup a loopback to a /32 , I can add

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
at 11:42, Alexander Chernikov wrote: > > On 14 Jun 2023, at 10:06, Benoit Chesneau beno...@enki-multimedia.eu wrote: > > > > I forgot oto add the error message , sorry. > > > > When I try to set the theblackhole flag I get the following error: > > &

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
wrote: > Hello all > > > Am 14.06.2023 um 11:06 schrieb Benoit Chesneau beno...@enki-multimedia.eu: > > route: writing to routing socket: Operation not supported > > change net 1.1.1.0 fib 0: Operation not supported > > > it says "change not supported"

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
--- Original Message --- On Wednesday, June 14th, 2023 at 11:56, Alexander Chernikov wrote: > Could you try: > 1) removing the 1.1.1.0/24 route > 2) removing the 1.1.1.1/32 from the lo1 > 3) provide the output for `route -n get 1.1.1.0/24` > 4) provide the output for `route -n get

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
at 12:18, Benoit Chesneau wrote: > > --- Original Message --- > On Wednesday, June 14th, 2023 at 11:56, Alexander Chernikov > melif...@freebsd.org wrote: > > > Could you try: > > 1) removing the 1.1.1.0/24 route > > 2) removing the 1.1.1.1/32 from

Re: can't add a /24 blackhole route with a /32 loopback

2023-06-14 Thread Benoit Chesneau
: PID 72860: Unable to find ifa for blackhole/reject nhop ``` --- Original Message --- On Wednesday, June 14th, 2023 at 12:18, Benoit Chesneau wrote: > > --- Original Message --- > On Wednesday, June 14th, 2023 at 11:56, Alexander Chernikov > melif...@freeb

mlx5en issue with SR-IOV when using in the bridge

2024-02-10 Thread Benoit Chesneau
I have tested the following scenario: Setup the mellanox driver with SRIOV: ``` $ sudo more /etc/iov/mce0.conf PF { device: "mlx5_core0"; num_vfs: 8; } DEFAULT { passthrough: true; } VF-0 { mac-addr: "02:01:02:02:01:00"; } VF-1 { mac-addr: "02:01:02:02:01:01"; } VF-2 { passthrough: false;}

how to troubleshoot "arpresolve: can't allocate llinfo for " errorr ?

2024-02-13 Thread Benoit Chesneau
I get the following error "arpresolve: can't allocate llinfo for 1.1.245.192 on vlan320" I can't explain. (IP edited). I only setup 1.1.245.192/31 between this vlan which parent is a VF from a MLX5EN(4) card . I am using a generated mac address and distribute IPs over OSPF with bird. What

docker like host network mode for jails ?

2024-02-10 Thread Benoit Chesneau
I have read today this deployment git of cRPD the containerized router daemon from Juniper [1] on which they claim to control the host interface by discovering them and use the nost network mode of docker [2] . Can we do the same for jails ? I see a jail requires to statically define the

dot1 issue, can't ping 2 interfaces each others

2024-02-06 Thread Benoit Chesneau
I have 2 machines connected on 2 ports of the same switch on which I try to pass a vlan 10 encapsulated in vlan 330 using dot1 q protocol. The configuration is very generic, but I cant ping each others machines Ex: ``` # ping 1.1.1.198 PING 1.1.1.1.198 (1.1.1.1.198): 56 data bytes ping: sendto:

Re: mlx5en issue with SR-IOV when using in the bridge

2024-02-12 Thread Benoit Chesneau
Hi Konstantin, indeed the port is plugged to a switch. The port is enabled. So yes that probably is. Is this a firmware issue or can it be solved in the driver? Benoît On Sunday, February 11th, 2024 at 04:50, Konstantin Belousov wrote: > On Sat, Feb 10, 2024 at 09:23:36AM +0000, Ben

Re: mlx5en issue with SR-IOV when using in the bridge

2024-02-12 Thread Benoit Chesneau
: > On Mon, Feb 12, 2024 at 08:30:37AM +0000, Benoit Chesneau wrote: > > > Hi Konstantin, > > > > indeed the port is plugged to a switch. The port is enabled. So yes that > > probably is. Is this a firmware issue or can it be solved in the driver? > > I

Re: how to cross-connect 2 interfaces

2023-11-25 Thread Benoit Chesneau
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 wrote: > ng_hub(4) > >> On Nov 25, 2023, at 8:34 AM, Benoit Chesnea

Re: how to cross-connect 2 interfaces

2023-11-26 Thread Benoit Chesneau
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 wrote: > Or, the netmap(4) bridge example > > On Sun, Nov 26, 2023, 12:40 PM Benoit Chesneau > wrote: > >> tha

Re : Re: netgraph and vpp

2023-11-25 Thread Benoit Chesneau
00:33, Jim Thompson <[j...@netgate.com](mailto:Le sam. 25 nov. 2023 à 00:33, Jim Thompson < a écrit : > On Nov 24, 2023 at 12:48:07 AM, Benoit Chesneau > wrote: > >> netgraph and vpp looks similar in their intent. Both are graphs to process >> packets. >>

how to cross-connect 2 interfaces

2023-11-25 Thread Benoit Chesneau
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 This could be quite handy to create a patch between diffrent machines in the network. Benoît

Re: vxlan with IPv6 underlay ?

2023-12-05 Thread Benoit Chesneau
OK Thanks for the answer. I will create a ticket. Found that the option `vxlanhwcsum` is the culprit. Benoît On Tuesday, December 5th, 2023 at 15:24, Kristof Provost wrote: > On 5 Dec 2023, at 15:21, Benoit Chesneau wrote: > > > Changing the mtu wasn't enough. To make it

Re: vxlan with IPv6 underlay ?

2023-12-05 Thread Benoit Chesneau
Error ``` Which is odd. Wonder why it's needed. Thoughts? Benoît On Tuesday, December 5th, 2023 at 13:11, Kristof Provost wrote: > On 4 Dec 2023, at 11:25, Benoit Chesneau wrote: > > > Hi, > > > > Is IPv6 underlay fully supported with FreebBSD ? I have created the a &

netgraph and vpp

2023-11-23 Thread Benoit Chesneau
netgraph and vpp looks similar in their intent. Both are graphs to process packets. I thought that usinv netgraph sounds interresting to build a modern router or cpe. What about the perforance? Did anyone compRe? Also is there any difference in term of implementation of the processing? Id

vxlan with IPv6 underlay ?

2023-12-04 Thread Benoit Chesneau
Hi, Is IPv6 underlay fully supported with FreebBSD ? I have created the a tunnel and associated an Ipv6 address to each side. I'm able to ping between each devicesl. But when I want to curl from the remote side it timeout. Locally on the remote side it is OK. Is this expected ? Should I rather

Anyway way to set an interface IP not reassigned during netif ?

2024-02-04 Thread Benoit Chesneau
Im' using the machine as a gateway and use one of the interface as an OOB access to the applications. I should be able to launch automated commands to re-configure the applications an other network interfaces from this OOB interface.  The issue I have is that when I update the rc.conf and

Re: where is happening the development of vpp of freebsd?

2024-02-04 Thread Benoit Chesneau
Awesome :) Thanks for taking care of it! Benoît Chesneau Sent with Proton Mail secure email. On Saturday, February 3rd, 2024 at 22:16, Tom Jones wrote: > > On Sat, Feb 3, 2024, at 20:20, Benoit Chesneau wrote: > > > I there any public source repository for the dev

where is happening the development of vpp of freebsd?

2024-02-03 Thread Benoit Chesneau
I there any public source repository for the development of VPP on FreeBSD? Any link to follow?  Benoît

Re: loopback and IP source

2023-11-15 Thread Benoit Chesneau
This makes sense. Thanks for the links! Benoît On Saturday, November 11th, 2023 at 12:03, Zhenlei Huang wrote: >> On Nov 11, 2023, at 5:56 PM, Benoit Chesneau >> wrote: >> >> Is there a way to ensure that the IP set in loopback on the rc.conf is >> always used

Re: fib with ssh

2023-11-11 Thread Benoit Chesneau
ces running. > > Symlink sshd RC script, then use rc conf entries like > > sshd_adm_enable="YES" > sshd_adm_fib="2" > sshd_adm_flags="-f /etc/ssh/sshd_config.adm -o PidFile=/var/run/sshd_adm.pid" > > Le 10 novembre 2023 21:42:14 GMT+01:00, Benoit

loopback and IP source

2023-11-11 Thread Benoit Chesneau
Is there a way to ensure that the IP set in loopback on the rc.conf is always used as source for routing. I setup it like this: ``` cloned_interfaces="lo1" ifconfig_lo1="inet 195.24.245.226/32 up" ifconfig_lo1_ipv6="inet6 2a12:5541:1:1::3/128" ``` and others IP are set on interfaces or vlans.

Re: ipv4 route with ipv6 local link nexthop ?

2024-03-13 Thread Benoit Chesneau
to the interface. Benoît On Wednesday, March 13th, 2024 at 14:09, Zhenlei Huang wrote: >> On Mar 13, 2024, at 12:19 PM, Zhenlei Huang wrote: >> >>> On Mar 13, 2024, at 4:36 AM, Benoit Chesneau >>> wrote: >>> >>> On latest freebsd 14.0 release , I am

Re: ipv4 route with ipv6 local link nexthop ?

2024-03-13 Thread Benoit Chesneau
Hrm I thought it was implemented via https://reviews.freebsd.org/rG62e1a437f3285e785d9b35a476d36a469a90028d Wasn't it merged ? (also pretty sure I did test it in freebsd 13). Benoît On Wednesday, March 13th, 2024 at 16:23, Marek Zarychta wrote: > W dniu 13.03.2024 o 14:09, Zhenlei Huang

Re: ipv4 route with ipv6 local link nexthop ?

2024-03-22 Thread Benoit Chesneau
07 AM, Marek Zarychta >>> wrote: >>> >>> W dniu 13.03.2024 o 18:59, Marek Zarychta pisze: >>> >>>> W dniu 13.03.2024 o 16:31, Benoit Chesneau pisze: >>>> >>>>> Hrm I thought it was implemented >>>>> viahttps://re

ipv4 route with ipv6 local link nexthop ?

2024-03-12 Thread Benoit Chesneau
On latest freebsd 14.0 release , I am trying to join an ipv4 address over an IPV6 local link using the following command : `route add -net 10.200.1.1/32 -inet6 fe80::9439:36ff:fef0:7cbd%vlan200` But I get the following error: ``` route add -net 10.200.1.1/32 -inet6

Re: ipv4 route with ipv6 local link nexthop ?

2024-03-13 Thread Benoit Chesneau
Thanks for the patch! I will try :) Benoît Sent with Proton Mail secure email. On Wednesday, March 13th, 2024 at 20:07, Marek Zarychta wrote: > W dniu 13.03.2024 o 18:59, Marek Zarychta pisze: > > > W dniu 13.03.2024 o 16:31, Benoit Chesneau pisze: > > &

vnet with interfaces

2024-03-26 Thread Benoit Chesneau
How does work VNET with interfaces? Is this as efficient as using pci passtrough in a vm ? Benoît

Re: vnet with interfaces

2024-03-30 Thread Benoit Chesneau
Thanks for the link! the VIMAGE concept is such an interesting hack.. Benoît Chesneau, Enki Multimedia — t. +33608655490  Sent with Proton Mail secure email. On Thursday, March 28th, 2024 at 10:17, Tom Jones wrote: > > On Tue, Mar 26, 2024, at 18:31, Benoit Chesneau wrote: > >