Hello there,
I'm using an ethernet connection that gives access based on the MAC address of clients.
The connection works, but using NetworkManager it fails at the DHCP lease renewal step after some time and I get stuck with an old IP address that I cannot use, I tried both the integrated dchp client and dhclient.
Using systemd-networkd works fine and the renewal goes well.
Do you know what could be the problem? What dhcp client does systemd use?
#systemd #NetworkManager #linux
I'm using an ethernet connection that gives access based on the MAC address of clients.
The connection works, but using NetworkManager it fails at the DHCP lease renewal step after some time and I get stuck with an old IP address that I cannot use, I tried both the integrated dchp client and dhclient.
Using systemd-networkd works fine and the renewal goes well.
Do you know what could be the problem? What dhcp client does systemd use?
#systemd #NetworkManager #linux
rag. Gustavino Bevilacqua reshared this.
J. Alfred Prufrock
in reply to rastinza • •have you tried disabling IPv6? (If you don't need it).
Maybe you can find something useful here:
https://wiki.archlinux.org/title/NetworkManager#DHCP_client
https://wiki.archlinux.org/title/NetworkManager#Problems_with_internal_DHCP_client
rastinza
in reply to J. Alfred Prufrock • • •I'll try disabling IPv6 tomorrow to see if that does something.
I'm tired of having to switch between NetworkManager and networkd and I don't want to use networkd all the time as it has no nice GUI.
J. Alfred Prufrock
in reply to rastinza • •rastinza
in reply to J. Alfred Prufrock • • •It's not a problem with ipv6, tried changing DNS and stuff to see if that was interfering, but no; the problem is the DHCP lease.
Using systemd-networkd I get a different ip each time I connect, with NetworkManager the ip is always the same
J. Alfred Prufrock
in reply to rastinza • •rastinza
in reply to J. Alfred Prufrock • • •