Unable to ping after changing IP address

Asked by CH

After i have changed my network ip from 192.168.1.0 to 10.10.20.0, the ubuntu server fails to ping any external ip and also unable to resolve dns name. Internal ping like 10.10.20.1 is ok and other PC has no problem to access to external.

I have changed /etc/network/interfaces to the following but still not able to get it working:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
        address 10.10.20.2
        netmask 255.255.255.0
        network 10.10.20.0
        broadcast 10.10.20.255
        gateway 10.10.20.1
        dns-nameservers 165.21.83.88 165.21.100.88
        dns-search mydomain.com

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matt Darcy (matt-darcy) said :
#1

your name servers are on 165.21.83.88 - is there a route to this network from the 10.X network ?
Are the dns servers using client rules, eg: was 192 allowed, but 10.x won't be allowed.

Can you help with this problem?

Provide an answer of your own, or ask CH for more information if necessary.

To post a message you must log in.