OS

Ubuntu에서 고정IP할당하기

Lunik 2012. 9. 1. 19:48
반응형

vi /etc/network/interfaces


아래와 같이 수정


auto lo

iface lo inet loopback


auto eth0

iface eth0 inet static

address 192.168.0.2

netmask 255.255.255.0

network 192.168.0.0

broadcast 192.168.0.255

gateway 192.168.0.1