저희 집이 인터넷 아파트라 랜선으로 외부 인터넷과 연결 됩니다
그래서 랜카드 하나를 dhcp로 잡고 데비안을 깔았습죠
커널 2.2.X 쓸적엔 잘 잡히고 잘되던데 커널을 바꿔주니까 ip를 못찾아 오는군요
레드햇 계열에선 /etc/sysconfig/network-scripts 요 파일을 건드리면 되었는데
데비안에선 /etc/network/interfaces 요 파일을 건드려야 하더군요
그 내용입니다.
# /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 dhcp
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
이렇게 해 줬는데 ifconfig 해보면 eth0엔 어떤 ip주소도 안찍히더군요
쩝... 머스커레이딩이 바로 코앞에 있었는데
도와주세요~~~--나의 서식처는 모니터 앞.