Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!