A gateway is connected to four networks that have the following IP addresses and MTUs:
126.96.36.199 (MTU=1500 bytes)
188.8.131.52 (MTU=724 bytes)---gateway --- 184.108.40.206
to 220.127.116.11 (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.)