Ubuntu runs several IPS during startup.
Ubuntu runs several IPS during startup.
Hello, So I think my server gets multiple IP's on reboot. It's a bit of a critical issue as the server is accessible from local network only until I do my fix. So I posted it here https://askubuntu.com/questions/1011864/...ip-changes (Read this for more in depth explanation from my side or ask me.) never got any help so I'm trying here now. I solve my issue with this (has to be done on EVERY reboot) dhclient -r -v enp5s0 && rm /var/lib/dhcp/dhclient.* ; dhclient -v enp5s0 I don't really know how it works, someone suggested it and it worked, not permanent tho. So after a reboot the server acts normal until I try access teamspeak, game servers and the website. I don't see whats wrong as if I ssh into the server everything looks as it should. I can only find 1 thing thats not as it should, and thats this: PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.1.2 icmp_seq=1 Destination Host Unreachable From 192.168.1.2 icmp_seq=2 Destination Host Unreachable From 192.168.1.2 icmp_seq=3 Destination Host Unreachable From 192.168.1.2 icmp_seq=4 Destination Host Unreachable From 192.168.1.2 icmp_seq=5 Destination Host Unreachable From 192.168.1.2 icmp_seq=6 Destination Host Unreachable 192.168.1.2 is the old IP of the server, it's now running one at the 10.0.* range. How do I solve this? It's really annoying and nobody I have talked to have had any clues.
Static IP: auto enp5s0 interface enp5s0 assign static address 10.0.0.2 with 255.255.0.0 mask gateway 10.0.0.1 dns-nameservers 8.8.8.8 8.8.4.4
It seems the setup is fixed and uses a unique IP address. How many network interfaces are currently active?
Joveice, my main concern is inconsistent static IP assignments or several DHCP servers operating on your local network. It might be a misconfigured file on the server that was overlooked, or perhaps the setup details are unclear. Network setup can be complex, particularly on systems like Arch Linux which offers various networking options. Providing a clear picture of your network layout—routers, switches, VLANs, and public IP assignments—could help identify the issue. Right now it’s just speculation without concrete access or details. What does the ifconfig command display on your server?
It's a straightforward setup with a modem, router, and server. I discovered a file in (/etc/dhcpcd.conf) that mentioned the old IP address and looked it up to find its location. I updated it to the new one, but haven't restarted or tested yet. Also, I didn't modify this file initially.