Salta al contenuto principale


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
in reply to J. Alfred Prufrock

@galeot I've looked through the wiki already and didn't find anything really useful.
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.
in reply to J. Alfred Prufrock

@galeot No, not yet
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
in reply to J. Alfred Prufrock

@galeot That wouldn't work, I need a fixed mac address or the gateway will reject my connection since it accepts clients based on the mac address.