정적 IP (Static IP)용 설정
/etc/network/interfaces 파일을 다음과 같이 편집해준다:
auto lo
auto eth0
iface lo inet loopback
iface eth0 inet static
address <실질적인 랜카드 IP주소>
netmask <넷마스크 주소>
network <네트워크 주소>
broadcast <방송망 주소>
gateway <게이트웨이 주소>
#auto eth0
#iface eth0 inet6 static
# address 2001:0220:1404::3
# netmask 64
#iface eth0 inet static
# address 192.168.0.3
# netmask 255.255.255.0
# network 192.168.0.0
# broadcast 192.168.0.255
# gateway 10.51.12.177
#
#auto eth1
#iface eth1 inet6 static
# address 2001:0220:1404:3::1
# netmask 64
gateway--> 적용하기 /etc/init.d/networking restart
ifconfig eth0 inet6 add 주소/프리픽스
ifconfig eth0 inet6 del 주소/프리픽스
활성화(켜기)
# ifup ethX 예) ifup eth0
/etc/init.d/networking restart
/etc/resolv.conf파일 작성
# vi /etc/resolv.conf
domain kunsan.ac.kr
nameserver 202.30.55.11
# chmod 644 /etc/resolv.conf

Comments List
愿