You are not logged in.

#1 2023-07-11 20:32:53

early_adopter
Member
Registered: 2011-03-30
Posts: 24

systemd-networkd gets only ipv6 addresses

Installing a new system with config for systemd-networkd straight out of the wiki page. It gets ipv6 addresses ffrom the AP but no ipv4 address. I'd like it to get both. (Just discovered that github.com doesn't even have an ipv6 address!).

Other Archlinux laptops with an older install get both, as does the new install using dhcpcd. Can anyone give me a clue what might be causing this?

Offline

#2 2023-07-11 21:20:38

seth
Member
Registered: 2012-09-03
Posts: 60,792

Re: systemd-networkd gets only ipv6 addresses

You're probably not getting a lease at all but only the link local address, (starts w/ fe80:)
https://wiki.archlinux.org/title/Instal … e_internet

DHCP: dynamic IP address and DNS server assignment (provided by systemd-networkd and systemd-resolved) should work out of the box for Ethernet, WLAN, and WWAN network interfaces.

roll
Yes "should" …

Are dhcpcd or dhclient still on the iso?
If not, check the journal whether systemd-networkd does
a) anything
b) with dhcp
c) that's not dumb

Some dhcp servers can be picky about the clients identification, https://man.archlinux.org/man/systemd.network.5 try "ClientIdentifier=mac"

Offline

Board footer

Powered by FluxBB