1. ip설정
vi /etc/network/interfaces
auto lo
iface lo inet loopback
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 168.126.63.1 168.126.63.2
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 168.126.63.1 168.126.63.2
자동으로 받을려면
auto lo
iface lo inet loopback
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
2. nameserver 설정
vi /etc/resolv.conf
dns-nameservers 168.126.63.1 168.126.63.2
'linux' 카테고리의 다른 글
tar 압축 (0) | 2013.08.30 |
---|---|
우분투 업데이트 서버설정 (0) | 2013.08.30 |
우분투서버(UbuntuServer) /etc/resolv.conf 초기화 막기 (0) | 2013.08.30 |
ubuntu - [Network] Device is unmanaged 메시지 관련 (0) | 2013.08.30 |
vi 단축키 (0) | 2013.08.13 |