血中红 发表于 2013-7-25 10:38:57

在接口上开启HSRP后,默认会关闭ICMP重定向的功能?

在接口上开启HSRP后,默认会关闭ICMP重定向的功能?

Dennis. 发表于 2013-7-26 14:09:03

ICMP重定向默认是开启的。
Router#show ip interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 12.1.1.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.2
Outgoing access list is not set
Inboundaccess list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent

Router(config)#int f0/0
Router(config-if)#no ip redirects关闭ICMP重定向
Router#show ip int f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 12.1.1.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.2
Outgoing access list is not set
Inboundaccess list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are never sent






Jeff. 发表于 2013-7-28 16:31:49

HSRP开启,重定向功能就被关闭了。但是你用show ip int xx 可以看到显示还是开始的。实际重定向功能已经无效。
从理论上可以分析:如果Active路由器重定向到stanby路由器,下次主机只要往stanby路由器转发,这明显不符合
HSRP Active路由器转发数据的根本性原理。

人在旅途2013 发表于 2013-8-13 09:29:11

-woniu2--woniu2--woniu2--woniu2-
页: [1]
查看完整版本: 在接口上开启HSRP后,默认会关闭ICMP重定向的功能?