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

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

Remember that we try to build this routing path from PC1: PC1 to R2 to R1 to R3 and last to PC2. You agree that the simple way is not to include R1 in this path…

To confirm our configuration using the CLI (Command Line Command), we check at R2 that PC2 network is reachable via R1 interface inter vlan204 network using the command show ip cef.

We check the same at R3 that PC1 network is reachable via the R1 interface in network 123.0.0.0.

A packet to reach PC2 from PC1 is first forwarded to R2 f1/1 interface in network 12.0.0.0. At R2, a route lookup is done against the destination of PC2. The configured static route is matched in this table and packet sent to the next hop. Cef forwarding confirms this routing. At R1, the packet is received and its destination looked up in the routing table and sent to R3 that forward it to PC2. The return traffic (reply) followers the same path…

Debug

let’s confirm our understanding of the operation of our setup using debug commands at each router. Let’s recall that the routing table called also local routing table or RIB (Routes Information Base) is different from Cef (Cisco Express Forwarding). Learnt routes are first put in routing table (RIB) and next in forwarding table (CEF). In CEF the forwarding that helps effectively send the packet is specified which is not necessary the case in routing table for the sample reason that forwarding a destination may require the usage of many routes to find the actual output interface. Think about routes that use an intermediate address as a nexthop (static routing, BGP, etc.). This intermediate address needs to be resolved to an output interface and IP in the same connected network before the routing is done, the new forwarding rule is added to CEF and packet sent…

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!