Ubuntu Server static IP

Posted by FoxyShadoww on Super User See other posts from Super User or by FoxyShadoww
Published on 2012-09-15T15:36:44Z Indexed on 2012/09/15 15:40 UTC
Read the original article Hit count: 191

Filed under:
|
|
|

I am trying to give my server a static ip address. This seems to work without any problems, but I can't seem to get an internet connection after this process. I've also changed my dns server to 8.8.8.8 (google dns right?).

OS: Ubuntu Server 12.04 x86
Environment: Virtualbox
File: /etc/network/interfaces:

auto eth0
iface eth0 inet static
    address 192.168.2.10
    netmask 255.255.255.0
    network 192.168.2.0
    broadcast 192.168.2.255
    gateway 192.168.2.1

© Super User or respective owner

Related posts about ubuntu

Related posts about networking