운영체계자료/Linux

Ubuntu LTS 12.04 ip 설정

Petabyte 2018. 7. 28. 01:07

sudo vi /etc/network/interfaces = ip 설정

auto lo eth0 

iface lo inet loopback 

iface eth0 inet static 

address 192.168.0.101 

netmask 255.255.255.0 

gateway 192.168.0.1


sudo vi /etc/resolv.conf   = nameserver 설정


nameserver 8.8.8.8

nameserver 1.1.1.1