Finding the matching route on a router - please help
15 years 8 months ago #29801
by S0lo
Because 172.16.4.3/22 has the network address 172.16.4.0. But route 172.16.0.0/22 has the network address 172.16.0.0.
The rule is: The route is a match only when the network addresses of both the route and the packet are exactly the same using the subnet mask provided by the route.
If more than two routes match, you choose the most specific route. (i.e the one with the highest subnet mask).
Hope this helps and doesn't confuse.
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: Finding the matching route on a router - please help
why cant 172.16.4.3 fit in the 172.16.0.0/22 :
instead of 172.16.0.0/16
Because 172.16.4.3/22 has the network address 172.16.4.0. But route 172.16.0.0/22 has the network address 172.16.0.0.
The rule is: The route is a match only when the network addresses of both the route and the packet are exactly the same using the subnet mask provided by the route.
If more than two routes match, you choose the most specific route. (i.e the one with the highest subnet mask).
Hope this helps and doesn't confuse.
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
15 years 8 months ago #29810
by Chojin
You've answered your own question .
172.16.0.0/22 = 172.16.0.0 - 172.16.3.255
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
Replied by Chojin on topic Re: Finding the matching route on a router - please help
yes /22 is the same as 255.255.252.0 which means the subnet go up by the power of 4.
so the subnets will be
0
4
8
12
16
20
24
why cant 172.16.4.3 fit in the 172.16.0.0/22
instead of 172.16.0.0/16
You've answered your own question .
172.16.0.0/22 = 172.16.0.0 - 172.16.3.255
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
Time to create page: 0.116 seconds