Friday, July 1, 2011

Setting the Network Card to Static IP on Ubuntu

Edit the /etc/network/interaces file to:

auto eth1
iface eth1 inet static
address 10.10.10.2
netmask 255.255.255.0
gateway 10.10.10.1
dns-nameservers 10.10.10.250 10.10.10.251

No comments: