Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please Help Consider a datagram network using 8-bit host addresses . Suppose a r

ID: 3701761 • Letter: P

Question

Please Help

Consider a datagram network using 8-bit host addresses. Suppose a router use longest prefix matching and has the following forwarding table

For each of the four interfaces, give the associated range of destination host addresses and the number of addresses in the range.

7. Consider a datagram network using 8-bit host addresses. Suppose a router use longest prefix matching and has the following forwarding table Prefix Match Interface 0 109E 101 01 CSIT 340-Computer Networks, HW 4 For each of the four interfaces, give the associated range of destination host addresses and the number of addresses in the range. (20 points)

Explanation / Answer

Prefix

Destination Address Range

Interface

11

11000000 – 11111111

0

100

10000000 – 10011111

1

101

10100000 – 10111111

2

00

00000000 – 00111111

2

01

01000000 – 01111111

3

number of addresses in the range of interface 0 = 2^6 =64

number of addresses in the range of interface 1 = 2^5 =32

number of addresses in the range of interface 2 = 2^5 +2^6 =32+64 =96

number of addresses in the range of interface 3 = 2^6 =64

Prefix

Destination Address Range

Interface

11

11000000 – 11111111

0

100

10000000 – 10011111

1

101

10100000 – 10111111

2

00

00000000 – 00111111

2

01

01000000 – 01111111

3