Question

1. (IP Forwarding) A router has the following entries in its routing table Address/mask 135.46.56.0/22 135.46.60.0/22 192.53.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a)135.46.63.10

Find network address using bit mask 255.255.252.0 (22 bit bit massk)

135.46.63.10 1 0 0 0 0 1 1 1 . 0 0 1 0 1 1 1 0 . 0 0 1 1 1 1 1 1 . 0 0 0 0 1 0 1 0
255.255.252.0 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 0 0 . 0 0 0 0 0 0 0 0
1 0 0 0 0 1 1 1 . 0 0 1 0 1 1 1 0 . 0 0 1 1 1 1 0 0 . 0 0 0 0 0 0 0 0

network address =135.46.60.0

So longest matching network address with same bit mask in routing table is 135.46.60.0

So 135.46.63.10 is forwarded to interface 1

(b) 135.46.57.14

Find network address using bit mask 255.255.252.0 (22 bit bit massk)

135.46.57.14 1 0 0 0 0 1 1 1 . 0 0 1 0 1 1 1 0 . 0 0 1 1 1 0 0 1 . 0 0 0 0 1 1 1 0
255.255.252.0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0

network address =135.46.56.0

So longest matching network address with same bit mask in routing table is 135.46.56.0

So 135.46.57.14 is forwarded to interface 0

(c)135.46.52.2

Find network address using bit mask 255.255.252.0 (22 bit bit massk)

135.46.52.2 1 0 0 0 0 1 1 1 . 0 0 1 0 1 1 1 0 . 0 0 1 1 0 1 0 0 . 0 0 0 0 0 0 1 0
255.255.252.0 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 0 0 . 0 0 0 0 0 0 0 0
1 0 0 0 0 1 1 1 . 0 0 1 0 1 1 1 0 . 0 0 1 1 0 1 0 0 . 0 0 0 0 0 0 0 0

network address =135.45.52.0. It dose not matche the network addresses of the first three rows in routing table. The packet will be forwarded to default gateway Router 2.

(d). 192.53.40.7
By finding network address using bit mask 255.255.254.0 (23 bit bit massk),we get network address as 192.53.40.0. It matches the network address of the third row. The packet will be forwarded to Router 1.

(e)192.53.56.7

By finding network address using bit mask 255.255.254.0 (23 bit bit massk),we get network address as 192.53.40.0. t dose not matche the network addresses of the first three rows in routing table. The packet will be forwarded to default gateway Router 2.

Add a comment
Know the answer?
Add Answer to:
1. (IP Forwarding) A router has the following entries in its routing table Address/mask 135.46.56.0/22 135.46.60.0/22...
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