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

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

In this blog, we discuss when a gateway decides that it’s not a good gateway any more and proposes a new gateway to the host by setting redirection.

Introduction

We explore how a gateway (a router) present in a LAN handles routing to the outside of this network and uses redirection to enhance this operation. In the first part, we describe the lab setup to show this routing operation. In the second part, we deep analyze this behavior before we conclude.

Lab setup

Our lab setup is 3 routers: R1, R2 and R3, in addition to 2 PC: PC1 and PC2. In this lab, PC1 tries to interconnect to PC2.

Routers R1, R2 and R3 have interfaces (f0/0) in the same network 123.0.0.0 and belong the same broadcast domain Vlan204. This is to test redirection that we put all the routers on the same L2 network.

Deep analysis

To allow PC1 to connect to PC2, static routing is configured on routers R1, R2 and R3. On router R1, PC1 and PC2 network are not connected and one hop away. Static route to PC1 is configured with a nexthop pointing to f0/0 interface of R2. The same for PC2, the configured nexthop is the IP address of the f0/0 interface of R3.

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!