Study../Linux
ubuntu network ip 설정...
Yoons...
2008. 5. 29. 21:14
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 해서 때려잡으면 되는지..
햇갈림..;;