lagapidis
(Lazarus Agapidis)
December 6, 2020, 11:36am
37
Hello Tim
I understand what you mean. Going through the process of how a router takes a look at the destination IP of a packet and the process with which it matches an entry in the routing table is important. Take a look at the following two posts which describe these processes in more detail:
Hello Ugo
When you look at the routing table of a router, you will see something like this:
HQ#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -IS-IS inter area, * - candidate default, U - per-user static r…
Hello Mohammad
A routing table is not executed in the same way as an ACL. When there is a destination address, it is compared to each entry in the routing table and is matched with the most accurate entry. For example:
Let’s say the destination IP is 10.96.4.7 and the routing table includes the following destinations:
172.16.1.0/24
10.96.0.0/16
192.168.7.0/24
10.96.4.0/25
The router will look at each destination. Here there would be two matches: 10.96.0.0/16 and 10.96.4.0/25. Once the…
I hope this has been helpful!
Laz