137k views
2 votes
a. If a datagram has 225.7.5.6 as the destination address, which interface should the router send the datagram to? (Hint: write the destination address as a sequence of 32 bits; do prefix matching for all the prefixes; and find the entry that it matches with the most number of bits. Show your entire decision process, besides giving the final answer.)

1 Answer

4 votes

Answer:

225.0.0.0 TO 225.63.255.255 0

225.0.0.0 TO 225.7.255.255 1

225.72.0.0 TO 225.79.255.255 2

Otherwise 3

Step-by-step explanation:

According to the original question,

225.7.5.6 comes under the first 1 link as you can see the range 225.0.0.0 to 225.7.255.255

If a datagram however has 225.48.100.100 as the destination address, it falls under the link 0 as 255.0.0.0 to 225.63.255.255

User Hexaholic
by
5.5k points