Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 Implement IP router tunction, which doesthetolowing - takes as an input: - a 32 bit IP address - a routing table: a list of
3 Implement IP router tunction, which doesthetolowing - takes as an input: - a 32 bit IP address - a routing table: a list of IP address - subnet mask - Interface (NIC card) pairs - does a binary AND of the subnet mask with the input IP address to extract the network part of the address compares the network part of the address with each address in its routing table if it matches with one of them, it routes the packet to the matching Interface - if it matches none of them, it routes the packet to the Default Router (Gateway) 4. Use the data (IP addresses and routing table) for your program. Hint: the IP addresses first need to be converted to binary in order to extract and compare the network part 5. Create a Graphical User Interface - showing which packet gets routed to which Interface at any given time. Use Jav a programming language for this project
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started