First, yes, this question's "question" will be an exact duplicate of static ip - what am I doing wrong? , but the question was never resolved in a way that helps.
What I am trying to do is make my Ubuntu Server have a static IP address. I am not entirely sure on the numbers to plug in, but I am sure it has something to do with correctly setting up the DNS servers.
Information I have:
- I want the address of the computer to be
- The router's address is
- The subnet mask is
- I assume that the network is
- I assume that the broadcast is
- According to my router, the DNS servers are
220.127.116.11. No idea if this is correct or not.
This is what my files look like currently:
auto eth0 iface eth0 inet static address 192.168.1.99 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1
#these are all commented out, I was trying ideas, but no combinations worked. #nameserver 18.104.22.168 #nameserver 22.214.171.124 #nameserver 126.96.36.199 #search hsd1.nh.comcast.net
Currently, as with the similar question, I can ping every other computer on my local network. But as soon as I try to
ping www.google.com, I get
unknown host www.google.com.
If anyone has any suggestions, it would help a lot.
suggestion: Why doesn't this custom static IP network configuration work? (the first comment)