Kamis, 11 Februari 2010

Configuring Network Setting from Linux Terminal

First set ip address and netmask:
ifconfig eth0 10.62.31.141 netmask 255.255.255.0 up

Set gateway:
route add default gw 10.62.31.21

Edit dns:
vi /etc/resolv.conf

Testing dns lookup:
nslookup google.com

Ping to make sure everything is working:
ping google.com

Done.

Tidak ada komentar: