small program can be done in C++/JAVA

A gateway is connected to 4 networks that have the following IP addrs and MTUs : (MTU = 1500 bytes) <--------| | | (MTU = 768 bytes) <----- Gateway ----> | MTU = 512 bytes |---> (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: Destination Address: 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: Destination Address: Data Field: 288 bytes

## Deliverables

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).

## Platform


Квалификация: Разное, Программирование на С, Техника, Java, Linux, MySQL, Perl, PHP, Управление проектами, Архитектура ПО, Тестирование ПО, Системное администрирование

Показать больше hire it done, vers, small program, java c, ipv4, express w, can protocol, C++ Java, c java, c java c++, c c java, java checksum code, routing program java code, small data table, java notation, tcp packet, protocol java protocol, tcp small server, fragment, program source code protocol java

О работодателе:
( 0 отзыв(-а, -ов) ) United States

ID проекта: #3837854

5 фрилансеров(-а) в среднем готовы выполнить эту работу за $55


See private message.

$29.74 USD за 1 день
(340 отзывов(-а))

See private message.

$25.5 USD за 1 день
(42 отзывов(-а))

See private message.

$85 USD за 1 день
(10 отзывов(-а))

See private message.

$68 USD за 1 день
(2 отзывов(-а))

See private message.

$68 USD за 1 день
(0 отзывов(-а))