Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-14 Thread Bauruine
Sali Pim I just found the solution. set interface unnumbered GigabitEthernet3/0/0 use tap2 This in combination with RequestBroadcast worked and I've got an IP on Linux. Thank you for your help, for your work on lcpng and for your articles on ipng.ch they are very interesting and helpful.

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Bauruine
Hoi Pim The dhclient of Ubuntu 22.04 doesn't have the -B option but systemd-networkd has a RequestBroadcast option (https://www.freedesktop.org/software/systemd/man/systemd.network.html#RequestBroadcast=) which seems to do the same. I still don't see the response on the TAP interface.

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Pim van Pelt via lists.fd.io
Hoi, aha- the response is going to an IPv4 address that the server has assigned to you (192.168.25.1.67 > 192.168.25.36.68) and because that address is not configured in VPP, it will not relay it to the TAP. For isc-dhclient, I think you can use -B ( https://linux.die.net/man/8/dhclient) to ask

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Pim van Pelt via lists.fd.io
Hoi Baurine, Do you happen to have the ability to tcpdump on the DHCP server? I am confident that linux-cp (and the lcpng) will forward this traffic out because it's a broadcast packet (and all traffic will be handled), but I am not confident that the packet is (a) arriving at the DHCP server and

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Bauruine
Hi Xiaodong Yes and if i add an ip to the tap in Linux it also shows up in VPP.  I'm adding the full config at the end of the mail. No I can't get an answer that's what I'm trying to achieve. [stefan@gw02:~]$ sudo dhclient -v ge0-3 Listening on LPF/ge0-3/00:0d:b9:50:99:0a Sending on  

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Xiaodong Xu
Hi Stefan, Did you also enable 'linux-nl' plugin, in addition to 'linux-cp'? I suppose 'linux-nl' is the one which syncs IP addresses/routes from Linux to VPP. BTW, were you able to get the IP address / route after you ran the dhcp client on the tap interface? If not what do the error / log

[vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Bauruine
Hi I would like to use VPP with the lcpng plugin as a home gateway where I have to use dhcp to get an IP from my ISP. If I use the dhcp plugin of VPP it works and I can see an IP address on the interface on Linux but no route which was to be expected as lcpng doesn't sync routes from VPP to