A gateway is connected to four networks that have the following IP addresses and MTUs:
18.104.22.168 (MTU=1500 bytes)
22.214.171.124 (MTU=724 bytes)---gateway --- 126.96.36.199
to 188.8.131.52 (MTU=724 bytes)
Need to implement with software the IP Version 4 protocol at the gateway. The input to the program will be a file that has the headers of an IP datagram (in binary #s) and the size of its data field expressed as a decimal number. The software must examine the various fields of the header as well as the length of the data field and provide:
1)the IP datagram that the gateway will transmit and
2) the error message corresponding to the appropriate error that occurred.
You will assume that the routing table of the gateway has information only about the four networks.
1) A project write-up and the screen shots of results must be submitted as well as the working program which will be tested. It can be written in ANY high-level language (C, C++, Java, etc.)