Having a weird problem with configuring a public static IP address in Ubuntu 20.04. The computer will not connect to the internet. Cannot use web browser. Cannot ping 8.8.8.8
I checked over the settings I'm using many times. The IP address is correct, the gateway is correct and the netmask is correct. DNS settings are correct.
This is a brand new Ubuntu installation on a Mini PC box.
The hardware architecture is:
- COX modem
- Swtich
- Servers
- (I tested a windows machine here to make sure there was not a problem with the IP address configuration)
- The Ubuntu box (that won't connect to the internet)
- Router
- General office stuff
- (I tested Ubuntu box here with DHCP to make sure there wasn't an issue with the hardware or cable)
I also tested these things:
- Made sure the ethernet cable and network hardware worked by hooking Ubuntu box up to my router and using DHCP internet - internet worked fine on this Ubuntu box when using DHCP and my router.
- Made sure the static IP worked by configuring the same settings on a windows box that I have. That box was able to successfully get internet with that IP address hooked up using the same cable and same switch
- Tried disabling IPv6 (I think this is how windows does it if I don't explicitly supply a manual IPv6)
I'm not really sure what else to do. I don't even know how to trouble shoot this. My guess is there is some obscure setting I need to correct, or there is some default part of the Ubuntu installation that is blocking the connection.
Below are the screenshots of the setup. As you can see, the specific configuration is:
- Public static IP: XXX.XXX.37.62
- Net mask: 255.255.255.240
- Gateway: XXX.XXX.37.49
- DNS servers 68.105.28.16, 68.105.29.16 (I also tried with 8.8.8.8, 8.8.4.4)
- I set "routes" to automatic. I'm not sure if that is right. The windows machines did not ask me to configure this.



Scrolled down to show the routes setting:
