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

wumy_ld wumy_ld 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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)
...全文
评论 4
收藏 已收藏
分享
返回顶部
wumy_ld
网络协议与配置 1,748 成员 1,304 内容