Home / Network / Routing / NHR / When A Gateway Says: “Not A Good Gateway… Set Redirection!”

When A Gateway Says: “Not A Good Gateway… Set Redirection!”

Problem statement

But R1 is not on the optimal path between R2 and R3! the packet does more hop the reach the destination even if R2 is directly connected to R3 in the vlan204 network…

Traffic from R2 must cross 123.0.0.0/24 network twice to reach PC-2 behind R3 which is another problem if we consider how NOT optimized is the usage of the network and ressources.

ICMP Redirect

Why in this case, the ip icmp redirect is not into play? R1 could hint R2 on a better gateway that is R3 to reach PC2 network… a show ip traffic shows in ICMP section that no redirects were issued at R1 level.

The show command confirms that NO redirects were sent (nor received)

We checked also the version of these routers to confirm they support this feature and that there’s no bug related to this feature.

We confirmed that the ip redirects are also enabled locally on the ip interfaces

and globally. Let’s note that the feature is named ip icmp redirect host and not router!

Let’s send a ping directly from R2 and enable a debug icmp

Now we check that a redirect messages was received from R1 for 23.0.0.1 and hints him to use the gateway R3 instead. The difference is that the traffic is generated within the same network the vlan204 network.

On R1 we check now using the show command that 3 redirects were sent (already received by R2 as checked with the previous debug command)

And nothing happens on R3 (the second gateway!) which is very important…

What is the most suitable option? Have R3 to send the ip redirect (to himself)? Or keep it by R1?

Even if R1 sends redirection messages, the the effective path PC1 packets take does not change

Pages: 1 2 3 4 5 6

Leave a Reply

802.11 (4) application (2) architecture (4) asm (4) automatisation (2) cagd (3) chd (2) checkpoint (2) cisco (6) command (5) cost (6) coverage (5) debug (10) distance (6) dtls (2) dynamic rrm (5) firewall (2) fortinet (2) gns3 (2) ieee (4) igmp (5) igp (8) interference (2) internet (3) ip (2) logique (2) loop (5) mac (3) machine learning (3) model (2) mpls (3) mroute (4) multicast (5) nat (2) ndp (2) network (3) next-hop (5) nurbs (3) osi (6) pat (2) pim (4) poisoning (6) policy (2) projet (2) qos (2) radio (5) rib (5) rip (5) route (6) router (6) routing (15) rpf (4) rrm (10) security (3) security gateway (2) show (5) simulation (2) snr (2) solution (2) split-horizon (5) ssl (2) ssm (4) static (6) stp (2) summarization (5) tcp (2) travail (2) udp (2) vpn (3) vrf (3) wifi (11) windows (2) wireshark (2) wlan (7) wlc (5)

October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
Table of Contents
Copied!