Consider a datagram network using 32-bit host addresses. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows:
Destination Address Range | Link Interface |
11100000 00000000 00000000 00000000 | |
through | 0 |
11100000 00111111 1111111 11111111 | |
11100000 01000000 00000000 00000000 | |
through | 1 |
11100000 01000000 11111111 11111111 | |
11100000 01000001 00000000 00000000 | |
through | 2 |
11100001 01111111 11111111 11111111 | |
otherwise | 3 |
- a. Provide a forwarding table that has five entries, uses longest prefix matching, and forwards packets to the correct link interfaces.
- b. Describe how your forwarding table determines the appropriate link interface for datagrams with destination addresses:
Learn your wayIncludes step-by-step video
Chapter 4 Solutions
Computer Networking: A Top-Down Approach (7th Edition)
Additional Engineering Textbook Solutions
Prelude to Programming
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
Java: An Introduction to Problem Solving and Programming (8th Edition)
Mechanics of Materials
Database Concepts (8th Edition)
Starting Out With Visual Basic (7th Edition)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY