A gateway is connected to 4 networks that have the following IP addrs and MTUs : 220.127.116.11 (MTU = 1500 bytes) <--------| | | 18.104.22.168 (MTU = 768 bytes) <----- Gateway ----> 22.214.171.124 | MTU = 512 bytes |--->126.96.36.199 (MTU = 768 bytes) Implement IPv4 protocol at the g.w. input to program will be a file that has the headers of IP datagram (in 0s and 1s) and the size of it's data field expressed as a decimal number. program must examine the various fields of the header as well as the length of the data field and provide: 1. The IP datagram (or datagrams), in the case of fragmentation, that the gateway will transmit, or 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, i.e., if the destination IP address of a packet is different from the four given above, the gateway will provide the message: "Unknown Dest." Dont have to express the possible error msgs using the ICMP format. Simply state which errr occurred. In case of a legit message, program must provide each IP datagram that will be transmitted by the g.w. the values of all fields of it's header using decimal numbers (also using the dotted-decimal notation for the IP addresses). Ex.: Input file: 01000101000000000000001100100000 00000011001000010000000000000000 00000111000001100000000000000000 10000001000110000000000100000001 10000010000101010000000100000001 780 Output file: 1st fragment: VERS=4, HLEN=5, SERVICE=0, Total Length=512 Identification=801, Flag=1, Fragment Offset=0 TTL=6, Protocol=TCP, Checksum=0 Source Address: 188.8.131.52 Destination Address: 184.108.40.206 Data Field: 492 bytes 2nd fragment: VERS=4, HLEN=5, SERVICE=0, Total Length=308 Identification=801, Flag=0, Fragment Offset=64 TTL=6, Protocol=TCP, Checksum=0 Source Address: 220.127.116.11 Destination Address: 18.104.22.168 Data Field: 288 bytes
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).