Consider a datagram network using 32-bit host addresses. Supposea router has four links, numbered 0 through 3, and packets are tobe forwarded to the link interfaces as follows:
Destination Address Range
Link Interface
11100001 00000000 00000000 00000000
through
11100001 00111111 11111111 11111111
0
11100001 01000000 00000000 00000000
through
11100001 01000000 11111111 11111111
1
11100001 01001000 00000000 00000000
through
11100001 01001111 11111111 11111111
2
otherwise
3
Assume that the router uses “longest prefix matching” to dodatagram forwarding.
a. If a datagram has 225.73.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 prefixmatching for all the prefixes; and find the entry that it matcheswith the
PayPal Gateway not configured
PayPal Gateway not configured