Thursday, August 27, 2009

Configure Static IP In Ubuntu Server

  1. open the /etc/network/interfaces file.
  2. auto eth0
    iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
  3. sudo /etc/init.d/networking restart
  4. Add DNS in /etc/resource

No comments:

Post a Comment