1. IP 설정
sudo vi /etc/network/interfaces
1-1. 고정 아이피 설정시
iface eth0 inet static
address 192.168.222.10
netmask 255.255.255.0
gateway 192.168.222.2
auto eth0
1-2. DHCP 설정시
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
2. DNS 설정
sudo vi /etc/resolv.conf
nameserver 219.252.1.100
nameserver 219.252.1.100
3. 네트워크 재시작
sudo /etc/init.d/networking restart
4. 네트워크 동작 확인
nslookup www.google.com