C++ Program

Cerrado Publicado Dec 13, 2002 Pagado a la entrega
Cerrado Pagado a la entrega

cis456_project2Homework # 2 due last day of class. Write a program that simulates a 4 interface ip router. All packets will come into interface "A" and will be routed to interfaces "B", "C" and "D". To simplify the program, traffic will only go in the one direction. The input file will be a list of ip#'s in either dotted decimal format or binary format. Your program will route the packets through interfaces "B","C" and "D" based on the attached routing table. The routing table can either be hardcoded into the program or you can read it into your program. You may use any programming language. The output from your program should be the ip# you read in followed by the interface letter the packet was routed through. As demonstrated in class, your program should convert the ip #'s and netmasks to binary, "and" them and then compare the result with the destination to determine if the subnets match. Do not compare the first 3 octets of the ip#'s in your program. This will result in points being taken off of your grade. the ip # and mask for interface "A" = 10.1.2.3/24 the ip # and mask for interface "B" = [url removed, login to view] the ip # and mask for interface "C" = [url removed, login to view] the ip # and mask for interface "D" = [url removed, login to view] Routing table: destinationmaskNext hop [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] input file: 130.3.5.3 7.10.1.3 130.3.6.4 128.235.251.1 7.10.1.6 33.33.32.1 150.7.200.5 [url removed, login to view] 128.6.30.3 50.60.70.1 [url removed, login to view] 200.1.3.3 [url removed, login to view] 40.33.1.1 128.235.200.5 30.3.1.4 example output for the first two records:

## Deliverables

I would like to have this program by saturday evening. I tried to change the delivery date to saturday. I was not able to.

## Platform

The program could run in C++, Java, Visual Basic

Programación en C Ingeniería Java MySQL PHP Arquitectura de software Verificación de software Visual Basic

Nº del proyecto: #2891749

Sobre el proyecto

14 propuestas Proyecto remoto Activo Jan 3, 2003

14 freelancers están ofertando un promedio de $37 por este trabajo

progwriter

See private message.

$63.75 USD en 14 días
(620 comentarios)
7.7
ivantarsky

See private message.

$15.3 USD en 14 días
(76 comentarios)
6.5
vladkvw

See private message.

$165.75 USD en 14 días
(9 comentarios)
5.2
musharrafvw

See private message.

$17 USD en 14 días
(54 comentarios)
5.3
bokbokan

See private message.

$29.75 USD en 14 días
(78 comentarios)
5.2
ambrosevw

See private message.

$17 USD en 14 días
(27 comentarios)
4.3
lalesculiviu

See private message.

$30.6 USD en 14 días
(18 comentarios)
4.2
nabeelaJ

See private message.

$80.75 USD en 14 días
(16 comentarios)
3.9
teamvw

See private message.

$17 USD en 14 días
(36 comentarios)
3.8
javoreu

See private message.

$29.75 USD en 14 días
(39 comentarios)
3.7
davem2

See private message.

$11.05 USD en 14 días
(29 comentarios)
3.7
stefanc

See private message.

$21.25 USD en 14 días
(17 comentarios)
3.0
nickyro

See private message.

$8.5 USD en 14 días
(8 comentarios)
2.3
kompooter

See private message.

$11.05 USD en 14 días
(3 comentarios)
0.7
bestcodevw

See private message.

$29.75 USD en 14 días
(0 comentarios)
0.0