두 랜카드에서... eth1 으로는 핑이 안되네요.
글쓴이: davinci / 작성시간: 수, 2004/09/29 - 12:02오후
이더넷 카드를 두개를 설치하였습니다.
eth0 는 제대로 작동하는데..
eth1 는 ping도 되지 않네요..
eth1에 물린 다른 호스트(라우터)에는 eth1의 ARP값을 제대로 받아옵니다. 그리고, 리눅스는 다른 호스트의 ARP를 받아오지 못하고요....
192.168.253.0 네트웍을 넣어다가 뺐다가 해보았는데....
참고로 디폴트게이트웨이는 eth0 (192.168.254.254)로 설정되어 있고요...
리눅스 머신은 레드헷 9가 설치되어 있고요... 기본적으로 설치되는 것만 설치한 것로 기억납니다.
[root@linux network-scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:F1:3D:91:5B inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:71216 errors:0 dropped:0 overruns:0 frame:0 TX packets:72142 errors:23 dropped:0 overruns:0 carrier:46 collisions:0 txqueuelen:100 RX bytes:18337518 (17.4 Mb) TX bytes:5963517 (5.6 Mb) Interrupt:10 Base address:0x2000 eth1 Link encap:Ethernet HWaddr 00:00:C0:10:B3:C9 inet addr:192.168.253.1 Bcast:192.168.253.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:93 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:11280 (11.0 Kb) Interrupt:7 Base address:0x250 Memory:c0000-c2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:820 errors:0 dropped:0 overruns:0 frame:0 TX packets:820 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:97892 (95.5 Kb) TX bytes:97892 (95.5 Kb) [root@linux network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.253.0 * 255.255.255.0 U 0 0 0 eth1 192.168.254.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.254.254 0.0.0.0 UG 0 0 0 eth0 위에서 169.254.0.0 네트웍은 외 들어가 있는지 모르겠네요.... [root@linux network-scripts]# arp Address HWtype HWaddress Flags Mask Iface 192.168.253.2 (incomplete) eth1 192.168.254.254 ether 00:30:F1:3C:AC:3A C eth0 192.168.254.60 ether 00:40:2B:39:8E:E8 C eth0 [root@linux network-scripts]# ping 192.168.253.2 PING 192.168.253.2 (192.168.253.2) 56(84) bytes of data. From 192.168.253.1 icmp_seq=1 Destination Host Unreachable From 192.168.253.1 icmp_seq=2 Destination Host Unreachable From 192.168.253.1 icmp_seq=3 Destination Host Unreachable From 192.168.253.1 icmp_seq=4 Destination Host Unreachable From 192.168.253.1 icmp_seq=5 Destination Host Unreachable From 192.168.253.1 icmp_seq=6 Destination Host Unreachable --- 192.168.253.2 ping statistics --- 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6028ms , pipe 3 eth1 에 물린 다른 호스트 (라우터)에서는 리눅스 머신의 맥주소를 받아옵니다. r3-2507>show arp Protocol Address Age (min) Hardware Addr Type Interface Internet 192.168.253.1 7 0000.c010.b3c9 ARPA Ethernet0 Internet 192.168.253.2 - 00e0.1e68.6107 ARPA Ethernet0 Internet 192.168.253.100 55 0000.0c91.963c ARPA Ethernet0
Forums:
레댓이라면 /etc/sysconfig/network 에[code:1]
레댓이라면 /etc/sysconfig/network 에
GATEWAYDEV=eth0
service network restart
『 아픔은.. 아픔을 달래줄 약이 무엇인지 알면서도 쓰지 못할 때 비로소 그 아픔의 깊이를 알수가 있음이다. 』
『 for return...』
댓글 달기