 |
 |
 |
 |
|
>> 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
 | |
|
|
|
|
페이지로딩: [ 0.77 초 ]
작업시간: [ 0.07 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|