#pwd
/etc/network/
#cat interface
-----------------------------------------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
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
-----------------------------------------------------------------------
: 얼마전까지 adsl을 사용하다가..
:
: 이번에 컴퓨터를 옮기면서 제 아이피를 갖게 됐습니다..
:
: 헌데 리눅스를
:
: adsl 쓸때 깐거라.. 깔때 dhcp로 설정을 해놨는데..
:
: 이걸 정적 아이피 쓰는걸로 바꾸는 방법이 있을 법도 한데...
:
: 혹시 아시는 분 있으심 꼭 좀 답변 부탁 드립니다..
:
: 아무튼 좋은 하루 보내십쇼!~--WindForce