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 L
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 messa
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 LPF/ge0
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
Grüezi Pim
Thank you for the reply.
I rewired it to a DHCP server under my control and did a tcpdump on it
while running dhclient -v ge0-3.
23:56:25.067464 00:0d:b9:50:99:0a > ff:ff:ff:ff:ff:ff, ethertype IPv4
(0x0800), length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none],
proto UDP
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 it
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.
07:45
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.