Simulation of The Routing Process Programming Task
write a simple program to simulate the routing decision taken at a router that we discussed in the lectures. You are given a text file (RoutingTable.txt) containing a routing table for a router (the five-column generic routing table with mask, destination address, next hop, flag and interface). You will notice that this is almost the same routing table as the one that we discussed in the lectures. The first few lines of the text file are shown below:
192.168.1.0/24 ? Destination address/Number of ones in the mask
– ? – means no next hop
E0 ? Outgoing interface 192.168.2.0/24 ? Destination address/Number of ones in the mask
192.168.4.2 ? Next hop
S0 ? Outgoing interface Etc
PLACE THE ORDER WITH US TODAY AND GET A PERFECT SCORE!!!