Question

A router has the following CIDR entries in its routing table: Address/mask 128.56.24.0/22 128.56.60.0/22 default Next hop Interface 0 Interface 1 Router 2 A packet comes with IP address of 128.56.63.10. What does the router do?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:

It will go to interface 1.

Mask is of 22, means last 10 bits are for host id and 1st 22 bits are for netid. So ur mask becomes 22 1's followed by 10 0's. As 10 bits are involved, so it is enough to check the last 2 octets. So ur last 2 octets of mask n given ip are:
11111100.00000000
00111111.00001010

Bitwise ANDing them, we get
00111100.00000000 -> 60.0
That's it, it matches with interface 1.

Add a comment
Know the answer?
Add Answer to:
A router has the following CIDR entries in its routing table: Address/mask 128.56.24.0/22 128.56.60.0/22 default Next...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT