Follow

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?

@rastinza Hi,

have you tried disabling IPv6? (If you don't need it).
Maybe you can find something useful here:
wiki.archlinux.org/title/Netwo…
wiki.archlinux.org/title/Netwo…

@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.

@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

@rastinza maybe you have some mac randomization in systemd-networkd?

@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.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.