>> Read No. 2884 article  
[질문]네트워크 설정시 문제접......

등록 2000-08-16 23:49:00     조회 2
이름 장현지    

		집에서 kornet-myipADSL를 사용하고 있습니다.
ip masqurading을 해서 집에 있는 모든 컴퓨터가 인터넷이 되게 했습니다.
그런데 갑자기 인터넷이 연결되지 않습니다.
참고적으로 서버에는 3com NIC 2장을 사용하고 있스며 참고파일은 아래와 같습니다.
어디가 문제인지 고수님 답변 부탁드립니다.
 ----------------------------------------
eth0 Link encap:Ethernet HWaddr 00:10:5A:7A:94:96
inet addr:211.193.185.100 Bcast:211.193.185.103 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xd000
eth1 Link encap:Ethernet HWaddr 00:01:02:59:92:F5
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
 [root@localhost /win]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
211.193.185.96 0.0.0.0 255.255.255.240 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 211.193.185.97 0.0.0.0 UG 0 0 0 eth0
 [root@localhost /etc]# cat hosts
192.168.0.1 localhost.localdomain
211.193.185.100 localhost.localdomain
[root@localhost /etc]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localhost.local * 255.255.255.255 UH 0 0 0 eth1
211.193.185.96 * 255.255.255.240 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
/etc/sysconfig/network <--filename
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=211.193.185.97
FORWARD_IPV4=yes
GATEWAYDEV=eth0
DEVICE=eth0
BOOTPROTO="none"
BROADCAST=211.193.185.103
IPADDR="211.193.185.100"
NETMASK="255.255.255.240"
NETWORK=211.193.185.100
ONBOOT="yes"
USERCTL=no
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
DEVICE=eth1
BOOTPROTO="none"
BROADCAST=192.168.0.255
IPADDR="192.168.0.1"
NETMASK="255.255.255.0"
NETWORK=192.168.0.0
ONBOOT="yes"
USERCTL=no
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
BOOTPROTO=none
 #!/bin/sh
# adds static routes which go through device $1
if [ "$1" = "" ]; then
echo "usage: $0 "
exit 1
fi
if [ ! -f /etc/sysconfig/static-routes ]; then
exit 0
fi
#note the trailing space in the grep gets rid of aliases
grep "^$1 " /etc/sysconfig/static-routes | while read device args; do
/sbin/route add -$args $device
done
grep "^any " /etc/sysconfig/static-routes | while read ignore type net netmask mask
bogus dev ; do
if [ "$dev" = "$device" ]; then
/sbin/route add -$type $net $netmask $mask $dev
fi
done
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.77 초 ] 작업시간: [ 0.07 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789839455
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.