SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
James F. Kurose, Keith W. Ross
Chapter:
The Network Layer
Exercise:
Problems
Question:12 | ISBN:9780132856201 | Edition: 6

Question

Consider a datagram network using 8-bit host addresses. Suppose a router uses 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.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer


Destination Address Range Link Interface

------------------------------------------------------------------------------------------------------------------------


10000000

through (64 addresses) 0

10111111


11000000

through(32 addresses) 1

11011111


11100000

through (32 addresses) 2

11111111


00000000

through (128 addresses) 3

01111111



0 0

Discussions

Post the discussion to improve the above solution.