Issues with static IP (Ubuntu Server 10.04)

Posted by letseatfood on Server Fault See other posts from Server Fault or by letseatfood
Published on 2010-05-15T19:48:35Z Indexed on 2010/05/15 19:56 UTC
Read the original article Hit count: 493

Filed under:
|
|
|

I am following this tutorial for setting up a testing server for my web development projects.

When I attempt setting up a static IP address (using the configuration below), I receive the error "ping: unknown host www.google.com" when I attempt using ping.

auto eth0
iface eth0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1 

Ping works fine when the configuration is:

auto eth0
iface eth0 inet static

I am a novice to server setup and administration.

© Server Fault or respective owner

Related posts about server

Related posts about novice