Thursday, December 30, 2010

Set IP on Ubuntu

  • gedit /etc/network/interfaces
  • auto eth0
    iface eth0 inet static
    address 192.168.1.11
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
  • /etc/init.d/networking restart

Comment