We help IT Professionals succeed at work.

when i change ubunto server 11 to static ip if cant see internet how do i stop this

awolarczuk used Ask the Experts™
Hi all when i change my server to a static ip it cant see the the internet it appears if it can seethe rest of my networkjust not the internet

how do i stop this
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Issue these commands.

ping yahoo.com


Also show your /etc/resolv.conf file.

It could simply be a DNS issue.  Or may be a gateway issue.

Issue command
netstat -nr


heres what i get mate

  Graph this data and manage this system at https://landscape.canonical.com/
Last login: Fri Aug  5 12:29:23 2011
root@Server2:~# ping yahoo.com
connect: Network is unreachable
root@Server2:~# ping
connect: Network is unreachable
root@Server2:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 eth0


ok worked it out mate but i have just install dhcp server through wemin as well and it is not comming up in the server area do you know why
When you setup your static, you are not setting the gateway correctly.  That is the reason.

Two things you have to take care of are
1.  Gateway
2.  DNS setting