Ubuntu Server static IP
- by FoxyShadoww
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