Ubuntu 11.04 Static IP doesn't take

Posted by mrduclaw on Super User See other posts from Super User or by mrduclaw
Published on 2011-05-19T06:16:45Z Indexed on 2012/06/20 3:18 UTC
Read the original article Hit count: 170

Filed under:
|

I'm trying to set a static IP address in Ubuntu 11.04. I did a server install. I edited my /etc/network/interfaces file to include:

auto eth0
iface eth0 inet static
    address 10.0.0.100
    netmask 255.255.255.0
    gateway 10.0.0.1

When I do a /etc/init.d/networking restart this appears to take. After awhile though, that 10.0.0.100 will turn into something dished out by the DHCP server.

My problem appears to be similar to this: Ubuntu intrepid - static IP networking keeps restarting with DHCP

But I don't have Gnome installed. Is there anything else that's running in the background that could be doing this? And if so, how do I disable it?

© Super User or respective owner

Related posts about ubuntu

Related posts about networking