Consider a diagram network using 32-bit host address. Suppose a router has four,
ID: 3930435 • Letter: C
Question
Consider a diagram network using 32-bit host address. Suppose a router has four, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows: Destination Address Range Link Interface 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111 11001000 00010111 00011100 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 3 Provide a forwarding table that forwards packets to the correct link interfaces. Describe in detail how the forwarding table determine the appropriate link interface for datagram's with destination addresses: 200.23.30.18 200.23.20.18 200.18.1.30Explanation / Answer
a) Forwarding table forwards the packets and requires the minimum bits that are needed to convey enough information to route correctly.
Hence, Forwarding tables:
11001000 00010111 00010 -> Link inteface 0
11001000 00010111 00011000 -> Link interface 1
11001000 00010111 000111 -> Link interface 2
otherwise -> Link interface 3
b) 200 = 11001000
23 = 00010111
30 = 00011110
Therefore, 200.23.30.18 -> Link interface 2
200 = 11001000
23 = 00010111
20 = 00010100
Therefore, 200.23.20.18 -> Interface 0
200 = 11001000
18 = 00010010
Therefore, 200.18.1.30 -> Interface 3
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.