setting IP Ubuntu server

Monday, February 22, 2010 at 5:31 PM | |

1. Edit file konf. network :

$sudo pico /etc/network/interfaces
#sample config :
#------------------------------------
auto eth0
iface eth0 inet static
address 172.22.22.222
netmask 255.255.255.0
#------------------------------------
2. Restart service network
$sudo /etc/init.d/networking restart
3. Cek hasil konf :
$ ifconfig

0 comments: