F5F Stay Refreshed Software Operating Systems Ubuntu runs several IPS during startup.

Ubuntu runs several IPS during startup.

Ubuntu runs several IPS during startup.

Pages (2): 1 2 Next
R
Redconfuser
Junior Member
45
06-19-2025, 11:20 PM
#1
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.
R
Redconfuser
06-19-2025, 11:20 PM #1

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.

T
TryHardMikel
Member
172
06-19-2025, 11:20 PM
#2
Did they capture the IP address from the router?
T
TryHardMikel
06-19-2025, 11:20 PM #2

Did they capture the IP address from the router?

K
kulan3
Member
174
06-19-2025, 11:20 PM
#3
This is the first time I've seen that IP address.
K
kulan3
06-19-2025, 11:20 PM #3

This is the first time I've seen that IP address.

N
Nikoo
Junior Member
21
06-19-2025, 11:20 PM
#4
Verify the server configuration—static IPs aren't supported via DHCP.
N
Nikoo
06-19-2025, 11:20 PM #4

Verify the server configuration—static IPs aren't supported via DHCP.

R
Rubicus_Game
Junior Member
5
06-19-2025, 11:20 PM
#5
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
R
Rubicus_Game
06-19-2025, 11:20 PM #5

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

M
miniwolf35
Junior Member
18
06-19-2025, 11:20 PM
#6
It seems the setup is fixed and uses a unique IP address. How many network interfaces are currently active?
M
miniwolf35
06-19-2025, 11:20 PM #6

It seems the setup is fixed and uses a unique IP address. How many network interfaces are currently active?

P
PvtStoner
Senior Member
599
06-19-2025, 11:21 PM
#7
Only one connection is active. After restarting, "ifconfig" displays everything properly. When testing connectivity to 8.8.8.8, it initially attempts to reach the previous IP address stored in the interfaces file, which has now been updated.
P
PvtStoner
06-19-2025, 11:21 PM #7

Only one connection is active. After restarting, "ifconfig" displays everything properly. When testing connectivity to 8.8.8.8, it initially attempts to reach the previous IP address stored in the interfaces file, which has now been updated.

M
marinagrams
Member
216
06-19-2025, 11:21 PM
#8
Any ideas?
M
marinagrams
06-19-2025, 11:21 PM #8

Any ideas?

S
SrWaldo_22
Member
239
06-19-2025, 11:21 PM
#9
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?
S
SrWaldo_22
06-19-2025, 11:21 PM #9

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?

E
EpicLuigi767
Member
56
06-19-2025, 11:21 PM
#10
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.
E
EpicLuigi767
06-19-2025, 11:21 PM #10

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.

Pages (2): 1 2 Next