yangqwer123 发表于 2013-10-27 16:00

请教ping的时候出现Redirect Network

ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.16: icmp_seq=1 Redirect Network(New nexthop: 192.168.1.1)
64 bytes from 192.168.1.1: icmp_seq=1 ttl=30 time=3.46 ms
From 192.168.1.16: icmp_seq=2 Redirect Network(New nexthop: 192.168.1.1)
64 bytes from 192.168.1.1: icmp_seq=2 ttl=30 time=0.012 ms
From 192.168.1.16: icmp_seq=3 Redirect Network(New nexthop: 192.168.1.1)
64 bytes from 192.168.1.1: icmp_seq=3 ttl=30 time=1.52 ms
From 192.168.1.16: icmp_seq=4 Redirect Network(New nexthop: 192.168.1.1)
64 bytes from 192.168.1.1: icmp_seq=4 ttl=30 time=0.926 ms

linux 虚拟机IP 192.168.1.254,采用桥接模式
安装linux虚拟机的PC笔记本IP 192.168.1.16
网关 192.168.1.1
虚拟机路由表:
Kernel IP routing table
Destination   Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0   *               255.255.255.0   U   0      0      0 eth1
192.168.1.0   *               255.255.255.0   U   0      0      0 eth0
default         192.168.1.1   0.0.0.0         UG    0      0      0 eth0
现在从linux虚拟机上(192.168.1.254)ping网关192.168.1.1,出现Redirect Network,请给讲讲这是什么情况,谢谢。

ssffzz1 发表于 2013-10-28 09:27

请搜索 ICMP重定向报文。

love5783 发表于 2013-11-06 09:56

我知道的有两种可能:
1.有更优化的路径到达192.168.1.1网关
2.如果你是直连192.168.1.1网关的话,你有可能遭受到arp攻击了。

yangqwer123 发表于 2013-11-15 23:05

电脑硬盘坏了,才修完,之前就是用虚拟机ip地址ping家里上网路由器的地址,就出现上边的信息了,今天重装了系统,又实验不出来这效果了。回复 3# love5783


   

yangqwer123 发表于 2013-11-15 23:06

嗯,电脑硬盘坏了才修好,明早看看回复 2# ssffzz1


   

cirs7 发表于 2013-11-27 10:45

可以搜索 ICMP重定向报文相关的,希望帮到你!评论来自上饶seo
页: [1]
查看完整版本: 请教ping的时候出现Redirect Network