07-27-2021 06:35 AM
Lets assume we have a network 192.168.1.0/24 connected to R2. On R1 2 static routes are created as below. Also, link between R1 and R2 has failed.
ip route 192.168.1.2 255.255.255.255 f0/0 permanent
ip route 192.168.1.0 255.255.255.0 f0/1
If packets are destined to Server 1(S1) then, will the packets be discarded at R1 or will it be forwarded through R3?
Solved! Go to Solution.
07-27-2021 07:07 AM
Hi @satvik.raval ,
The packets would be discarded at R1, as the static route will never get removed from the routing table, regardless if the interface is up or down.
Regards,
07-27-2021 07:07 AM
Hi @satvik.raval ,
The packets would be discarded at R1, as the static route will never get removed from the routing table, regardless if the interface is up or down.
Regards,
07-27-2021 09:09 AM
Hello @satvik.raval ,
you are relying on Proxy ARP to be enabled on R2 and R3 interfaces .
It would be better to specify IP next-hops the permanent keyword is an option that should not be used for reasons explained by Harold
Hope to help
Giuseppe
07-27-2021 10:48 AM
Hello
ip route 192.168.1.2 255.255.255.255 f0/0 permanent
ip route 192.168.1.0 255.255.255.0 f0/1
If packets are destined to Server 1(S1) then, will the packets be discarded at R1 or will it be forwarded through R3?
As stated packets will be discarded due to the permanent statement applied to the r1-r2 longer host static route, Otherwise traffic would fail over via R3 if that wasnt applied as then that longer static host route would then be removed as/when its physcal interface goes down
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide