Show Bid Request
simulate a 4 interface ip router program
Bid Request Id: 39583
|
|
|
Posted by: |
kira4u (0 ratings)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Dec 12, 2002 2:16:01 PM EDT
|
Bidding Closes: |
Dec 14, 2002 10:00:00 AM EDT
|
Viewed (by coders): |
149 times
|
Deadline: |
12/14/2002 11:00:00 AM
TIME EXPIRED
|
|
|
|
Description:
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" = 192.200.5.10/24 the ip # and mask for interface "C" = 192.150.7.20/24 the ip # and mask for interface "D" = 135.200.2.10/24
Routing table:
destination mask next hop
128.6.30.0 255.255.255.0 192.200.5.11 33.33.32.0 255.255.255.0 192.150.7.21 40.33.101.0 255.255.255.0 192.150.7.21 50.60.70.0 255.255.255.0 135.200.2.11 45.45.4.0 255.255.255.0 192.200.5.11 150.7.200.0 255.255.252.0 192.200.5.11 130.3.4.0 255.255.252.0 135.200.2.11 128.235.0.0 255.255.0.0 192.200.5.11 30.0.0.0 255.0.0.0 192.150.7.21 0.0.0.0 0.0.0.0 192.150.7.21 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 150.7.203.100 128.6.30.3 50.60.70.1 45.45.45.45 200.1.3.3 203.3.4.100 40.33.1.1 128.235.200.5 30.3.1.4
example output for the first two records:
130.3.5.3 D 7.10.1.3
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
As long as the programmer uses a programming application such as Borlan C++ or similar, everything should be okay.
Must be 100% finished and received by buyer on:
Dec 14, 2002 11:00:00 AM EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
Must be completed by 12/14/2002 at 11:00am.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$13 (USD)
|
Dec 12, 2002 8:00:19 PM EDT
|
9.81
(Excellent)
|
|
|
Hi,
Attached you will find a program that does what you have requested. Just unzip and run in a DOS box. The source code is ready to send to you once my bid is accepted.
|
|
Attached File
|
|
|
|
|