无法ping通网关,但局域网内其它设备都能ping通,这是肿么了?

wumy_ld 2015-12-21 03:18:44
Ubuntu系统,能与局域网内的其它电脑互相ping通,但就这台设备无法ping通网关,其它设备没有该问题,怎么回事呢?

route命令:
root@iis-Lenovo:~/ur0svn/trunk# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0


网络配置:
root@iis-Lenovo:~/ur0svn/trunk# cat /etc/network/interfaces 
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.200
gateway 192.168.1.1
netmask 255.255.255.0

dns-nameservers 180.76.76.76
dns-nameservers 223.5.5.5


root@iis-Lenovo:~/ur0svn/trunk# ifconfig 
eth0 Link encap:Ethernet HWaddr 44:8a:5b:bf:73:c8
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::468a:5bff:febf:73c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57048 errors:0 dropped:0 overruns:0 frame:0
TX packets:30695 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9744051 (9.7 MB) TX bytes:18666084 (18.6 MB)
Interrupt:45 Base address:0xe000

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:65536 Metric:1
RX packets:2145 errors:0 dropped:0 overruns:0 frame:0
TX packets:2145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:150435 (150.4 KB) TX bytes:150435 (150.4 KB)
...全文
611 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
AbnerCV 2016-01-03
  • 打赏
  • 举报
回复
网关设置了对ICMP响应的限制?
Darryfei 2016-01-02
  • 打赏
  • 举报
回复
网关设置了对ICMP响应的限制?
笨笨仔 2015-12-30
  • 打赏
  • 举报
回复
网关的防火墙可能禁掉了Ping
刻出一道孤独 2015-12-29
  • 打赏
  • 举报
回复
怎么会有两个default,metric值还不一样。。。

1,737

社区成员

发帖
与我相关
我的任务
社区描述
网络协议与配置相关内容讨论专区
网络协议网络安全tcp/ip 技术论坛(原bbs)
社区管理员
  • 网络协议与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧