急切求助~能ping通本机,ping不通默认网关
发表于 : 2012-03-11 11:50
详细情况如下:
正确的静态ip:121.194.89.180 默认网关:121.194.89.254 子网掩码:255.255.255.0
linux下的情况:
cos@cos-Aspire ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:70:f4:e2:a0:d0
inet addr:121.194.89.180 Bcast:121.194.89.255 Mask:255.255.255.0
inet6 addr: 2001:da8:214:1089:ba70:f4ff:fee2:a0d0/64 Scope:Global
inet6 addr: fe80::ba70:f4ff:fee2:a0d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24123 errors:0 dropped:0 overruns:0 frame:0
TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2519502 (2.5 MB) TX bytes:58033 (58.0 KB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2304 (2.3 KB) TX bytes:2304 (2.3 KB)
cos@cos-Aspire ~ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 121.194.89.254 0.0.0.0 UG 0 0 0 eth0
121.194.89.0 * 255.255.255.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
cos@cos-Aspire ~ $ arp -a
? (121.194.89.18) at <incomplete> on eth0
? (121.194.89.254) at c8:4c:75:15:4d:ff [ether] on eth0
? (121.194.89.252) at 20:6a:8a:43:88:4e [ether] on eth0
cos@cos-Aspire ~ $ ping 121.194.89.254
PING 121.194.89.254 (121.194.89.254) 56(84) bytes of data.
^C
--- 121.194.89.254 ping statistics ---
26 packets transmitted, 0 received, 100% packet loss, time 25199ms
ping局域网其它机器:
cos@cos-Aspire ~ $ ping 121.194.89.18
PING 121.194.89.18 (121.194.89.18) 56(84) bytes of data.
From 121.194.89.180 icmp_seq=1 Destination Host Unreachable
From 121.194.89.180 icmp_seq=2 Destination Host Unreachable
From 121.194.89.180 icmp_seq=3 Destination Host Unreachable
^C
--- 121.194.89.18 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4022ms
pipe 3
期待大神们尽快给予解答啊~网上的方法几乎试了一遍,实在没办法整了
正确的静态ip:121.194.89.180 默认网关:121.194.89.254 子网掩码:255.255.255.0
linux下的情况:
cos@cos-Aspire ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:70:f4:e2:a0:d0
inet addr:121.194.89.180 Bcast:121.194.89.255 Mask:255.255.255.0
inet6 addr: 2001:da8:214:1089:ba70:f4ff:fee2:a0d0/64 Scope:Global
inet6 addr: fe80::ba70:f4ff:fee2:a0d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24123 errors:0 dropped:0 overruns:0 frame:0
TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2519502 (2.5 MB) TX bytes:58033 (58.0 KB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2304 (2.3 KB) TX bytes:2304 (2.3 KB)
cos@cos-Aspire ~ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 121.194.89.254 0.0.0.0 UG 0 0 0 eth0
121.194.89.0 * 255.255.255.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
cos@cos-Aspire ~ $ arp -a
? (121.194.89.18) at <incomplete> on eth0
? (121.194.89.254) at c8:4c:75:15:4d:ff [ether] on eth0
? (121.194.89.252) at 20:6a:8a:43:88:4e [ether] on eth0
cos@cos-Aspire ~ $ ping 121.194.89.254
PING 121.194.89.254 (121.194.89.254) 56(84) bytes of data.
^C
--- 121.194.89.254 ping statistics ---
26 packets transmitted, 0 received, 100% packet loss, time 25199ms
ping局域网其它机器:
cos@cos-Aspire ~ $ ping 121.194.89.18
PING 121.194.89.18 (121.194.89.18) 56(84) bytes of data.
From 121.194.89.180 icmp_seq=1 Destination Host Unreachable
From 121.194.89.180 icmp_seq=2 Destination Host Unreachable
From 121.194.89.180 icmp_seq=3 Destination Host Unreachable
^C
--- 121.194.89.18 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4022ms
pipe 3
期待大神们尽快给予解答啊~网上的方法几乎试了一遍,实在没办法整了