ubuntu  에서 ip 설정하는 방법...

 /etc/network/interfaces    에서

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 203.240.202.107
netmask 255.255.255.0
gateway 203.240.202.1


. /etc/resolv.conf  에서

search localdomain
nameserver 168.126.63.1
nameserver 202.30.143.11


네이버에서 봤는데,
여기까지는 믿겠는데, 요 뒤에는 못 믿을만한 정보..;;
(해보니 명령이 없단다. ;; )

ifconfig eth0 down
후에
ifconfig eth0 up
이었는지, 아니면 대충 ifconfig ip 해서 때려잡으면 되는지..
햇갈림..;;

'Study.. > Linux' 카테고리의 다른 글

Gentoo Linux Bluetooth Guide  (0) 2008.05.31
tar and gzip  (0) 2008.05.29
vsftpd.conf 설정  (0) 2008.05.25
ubuntu server setting  (2) 2008.05.02
Ubunto 메모리 테스트..  (0) 2008.03.15
Posted by Yoons...
,