You are not logged in.
Over the last couple of weeks, I've noticed that my always-on Arch 6t4bit server is often losing its bound IP address; what happens is that I will be unable to connect (Plex, deluge, etc) and will need to connect via direct keyboard/mouse and restart the NetworkManager service. After that it finds an IP again. It doesn't seem to happen at any particular time or with any particular event/service.
Here is the output of journalctl, starting just before the machine lost its IP. I normally use a static reservation from the router (192.168.2.1) to 192.168.2.50.
Any ideas? I've ran the server this way for years. Thanks
Offline
NM seems unnecessarily complex for a server; see if you experience the same issue with systemd-networkd.
Offline
I would try to have a static ip from my machine. my guess is your router doesn't act the way it should and the problem seems to come from the dhcp server, it's just a guess though.
Offline
Run "ip addr" - does it show the IPs as lasting "forever", or only for e.g. 12 hours (assigned from DHCP)?
"forever" is safer
Offline
I prefer NM simply because I use this machine as a workstation from time to time, and the built-in VPN capabilities are nice.
The router is fine - I work at an MSP and we deploy these things everywhere (EdgeRouters). It's possible there's a problem with this specific one, though.
ip addr shows:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether d0:50:99:5e:2f:cb brd ff:ff:ff:ff:ff:ff
inet 192.168.2.50/24 brd 192.168.2.255 scope global dynamic eth0
valid_lft 80009sec preferred_lft 80009sec
But the router is set to 24 hours lease time (the default).
I've had this router and this server working without issues for over a year; there have been no configuration changes other than firmware updates on the router and software/kernel updates on the server.
Offline