[問題] ping 不到gateway
作業系統是Ubuntu 10.04LTS, 目前無法連上區域網路以外的網路,
1> 可以ping到自己的ip
2> 無法ping gateway(61.254)
3> 可以ping 到同一個區域網路的電腦
4> 於同一個區域網路的電腦
a. 可以ping 到無法連外網路的這台電腦
b. 可以ping gateway
嘗試將整個作業系統重灌,仍然維持這個情形,原本懷疑是網路卡,就去買了一個
USB/RJ45的網卡,但症狀依舊。
目前的推測是 網路線沒問題(交叉測試過,且可ping同區網電腦),
網路卡沒問題(換了外接網路卡情況依舊),
gateway 沒問題(同區網的電腦可以ping得到), 應無被鎖卡
目前毫無頭緒,希望大家能給我一些建議。
一些結果如下(eth0是主機板內建網卡,eth1是外接USB網路卡)
1. ifconfig
eth0 Link encap:Ethernet HWaddr 00:1d:7d:aa:d5:d3
inet6 addr: fe80::21d:7dff:feaa:d5d3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:29022 errors:0 dropped:0 overruns:0 frame:0
TX packets:512 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2799975 (2.7 MB) TX bytes:54370 (54.3 KB)
Interrupt:23 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:60:6e:00:68:8a
inet addr:140.112.61.75 Bcast:140.112.61.255 Mask:255.255.255.0
inet6 addr: fe80::260:6eff:fe00:688a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11510 errors:0 dropped:0 overruns:0 frame:0
TX packets:883 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1201143 (1.2 MB) TX bytes:85432 (85.4 KB)
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:398 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32767 (32.7 KB) TX bytes:32767 (32.7 KB)
2. route
Destination Gateway Genmask Flags Metric Ref Use Iface
140.112.61.0 * 255.255.255.0 U 1 0 0 eth0
140.112.61.0 * 255.255.255.0 U 1 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 140.112.61.254 0.0.0.0 UG 0 0 0 eth0
3. cat /proc/ioports
http://140.112.61.84/~yushengc/ioports
4. cat /proc/interrupts
http://140.112.61.84/~yushengc/interrupts
5. dmesg |grep -3 -i eth
http://140.112.61.84/~yushengc/dmesg
6. DNS
8.8.8.8
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.61.77
→
02/14 18:22, , 1F
02/14 18:22, 1F
→
02/14 18:24, , 2F
02/14 18:24, 2F
→
02/14 18:24, , 3F
02/14 18:24, 3F
→
02/14 18:25, , 4F
02/14 18:25, 4F
→
02/14 18:26, , 5F
02/14 18:26, 5F
→
02/14 18:26, , 6F
02/14 18:26, 6F
→
02/14 18:27, , 7F
02/14 18:27, 7F
→
02/14 18:28, , 8F
02/14 18:28, 8F
→
02/14 18:29, , 9F
02/14 18:29, 9F
→
02/14 18:29, , 10F
02/14 18:29, 10F
→
02/14 18:55, , 11F
02/14 18:55, 11F
→
02/14 18:56, , 12F
02/14 18:56, 12F
→
02/14 18:56, , 13F
02/14 18:56, 13F
→
02/14 18:57, , 14F
02/14 18:57, 14F
→
02/14 18:57, , 15F
02/14 18:57, 15F
→
02/14 18:58, , 16F
02/14 18:58, 16F
→
02/14 19:14, , 17F
02/14 19:14, 17F
→
02/14 19:16, , 18F
02/14 19:16, 18F
→
02/14 19:17, , 19F
02/14 19:17, 19F
→
02/14 19:45, , 20F
02/14 19:45, 20F
→
02/15 16:51, , 21F
02/15 16:51, 21F
推
02/15 16:55, , 22F
02/15 16:55, 22F
推
02/16 12:08, , 23F
02/16 12:08, 23F
推
02/16 23:31, , 24F
02/16 23:31, 24F
Linux 近期熱門文章
PTT數位生活區 即時熱門文章