Routing - How much is needed to route a package
AndreL
Member Posts: 55 ■■□□□□□□□□
in CCNA & CCENT
Off INE IT video"Implementing Static Default Routes" the guy says word for word
"When a packet comes in the routing device takes a look at the 32 bits destination address, (if we are talking about IPv4) of that packet And it takes a it goes into its routing table " 'OK, do I have any entries in here, that in any way match that address even if I have an entry where I only the first two or three match that address' that's better than nothing I'll use that.
My question is I that I seen question where the whole network portion of the IP address had to match and you had to find the right subnet range. And if not the package was dropped.
Help me find the right answer does a router to match some or all of the IP address to find a route for the frame.
"When a packet comes in the routing device takes a look at the 32 bits destination address, (if we are talking about IPv4) of that packet And it takes a it goes into its routing table " 'OK, do I have any entries in here, that in any way match that address even if I have an entry where I only the first two or three match that address' that's better than nothing I'll use that.
My question is I that I seen question where the whole network portion of the IP address had to match and you had to find the right subnet range. And if not the package was dropped.
Help me find the right answer does a router to match some or all of the IP address to find a route for the frame.
Comments
-
networker050184 Mod Posts: 11,962 ModThe router is going to look for the longest match. It could match 1.0.0.0/16 or 1.1.1.1/32 for example. It might not match anything and be dropped.An expert is a man who has made all the mistakes which can be made.