03-15-2008 01:41 PM - edited 03-03-2019 09:09 PM
Hi Seniors, During the study of CCNA, especially routing, I am stuck of a very basic(might be stupid) question,
1-Describe in very clear step(s) when router discards a packet
2-Describe the situation(s) in which router forwards a packet
Please dont refer me a CISCO technical document as at this stage of learning I am unable to understand it. Thanks for reply. Tahir
03-15-2008 02:17 PM
1. (most frequent cases)
Administratively prohibited (access list)
Exceeding configured QoS
No route to destination
Malformed / invalid packet
Input queue full
Input interface throttled
Output queue fuell
Buffer allocation failure
2. all other cases.
03-15-2008 03:12 PM
Very good my Senior Bevilacqua, you spilled all the CCIE knowledge in few lines whereas I am working on CCNA level. Just want to know simple routing process in which
1- classless vs classfull routing is in action, OR
2- when a major network is found in table or when it is not found and when "no ip routing" is active. Hope u will come down to my level. Thanks again.
03-15-2008 05:23 PM
1 - classful routing has ended 15 years ago, there are no questions anymore about that in testing, do not ever worry about it.
2 - when no ip routing, router acts as an host - "ip default-gateways" comes into effect. Some models act in were this mode during "boot image". If bridging is configured, everything will be bridged.
03-15-2008 07:02 PM
Hi, Tahir
Let's take an example.
Suppose the router's routing table has only two entries:
172.16.10.0/24 via e0
*0.0.0.0/0 via e1
and two packets with dest. ip address 172.16.20.1 and 10.1.1.1 respectively come into the router.
Here is what happen when classful routing is configured:(use no ip classless)
1.The router match the network number first. Because 172.16.20.1 belongs to the classful network 172.16.0.0/16 and the routing table entry 172.16.10.0/24 is also belongs to the same classful network 172.16.0.0/16, the routing process consider this is a match and goto step 2.
On the other hand, 10.1.1.1 belongs to the classful network 10.0.0.0/8 and there is no routing entry belongs to the same classful network 10.0.0.0/8, routing process consider this is no-match and goto step 3 (that is, skip the step 2)
2.Then the router will do a longest match inside that classful network 172.16.0.0/16. (this is the key point: it will not do a longest match outside the classfull network). For packet with dest. ip address 172.16.20.1, there is no match under this step. So the router drops the packet and ends the matching algorithm.
3.the 10.1.1.1 packet will match the routing entry 0.0.0.0/0 and be routed via e1.
In case of classless routing, the algorithm is simple: just do a longest match. Both packets will end up with matching the 0.0.0.0/0 entry and routed via e1.
HTH
SSLIN
03-15-2008 07:52 PM
Thanks ,good explaination.
Regards,
Tahir.
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