Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Understanding how CIDR routers fordward packets

Oct 28, 2018 3:33PM PDT

I'm trying to solve the following problem and I'm having trouble....

A router running Classless Interdomain Routing (CIDR) has the following entries in its routing table:

Address/mask Next hop
135.46.56.0/22 Interface 0
135.46.60.0/22 Interface 1
192.53.40.0/23 Router 2
Default Router 3

How does a CIDR router work to route the packets it received? For each of the following IP addresses, what will the router do if a packet with that address arrives?

(a) 135.46.63.10
(b) 135.46.58.16
(c) 135.46.52.2
(d) 192.53.40.7
(e) 192.53.56.7


The only one I'm pretty sure about is 'c'. In this case the packet would not be routable because the address range of Interface 0 begins at 135.46.56, am I right?

If someone could help me understand this I'd really appreciate it. The textbook I'm using doesn't go very in depth on this and I haven't been able to find very helpful information on the net.

Discussion is locked

- Collapse -
Clarification Request
Isn't this some class assignment?
Oct 28, 2018 4:01PM PDT
- Collapse -
thanks
Oct 28, 2018 4:11PM PDT

Yes this is very similar and helps a lot. Thank you.