우분투 고정아이피 설정


#sudo vi/etc/network/interfaces


auto eth0

iface eth0 inet static

address 192.168.10.122

netmask 255.255.255.0

gateway 192.168.10.1


#sudo /etc/init.d/networking restart