I have a HP Microserver with Ubuntu 20.04.4 LTS that I use to run Plex. All of a sudden, there is no internet access from/to this server. It used to work just fine.
The only change is that I have had fiber installed to my house so I have a new router but I copied all the router settings and no other devices have a problem. One thing that has changed is the gateway address; my old address was 192.168.1.254 and the address to the new is 192.168.1.1
I am not sure how to change this?
I am able to ping other PCs and devices within my home network but I cannot ping or access anything outside.
Here is what Ip route reports (shows the OLD gateway address):
leif@HP-ProLiant-MicroServer:~$ ip route
default via 192.168.1.254 dev eth0 onlink
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.20
If the gateway address is the likely problem, could someone please tell me how to change it?
Any other tips are of course welcome.
Update; after I added 192.168.1.1 as the default gateway in the /etc/network/interfaces file, I rebooted and checked route command again:
leif@HP-ProLiant-MicroServer:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default cloudmesh.home 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
It now says that cloudmesh.home is the default gateway. How can that be?
Plus I can now access the internet.
Of course, I am glad its working but can someone please explain the cloudmesh.home <> 192.168.1.1 correlation? I am confused.