You are on page 1of 4

Programming Assignment 4 : Team 2

Submission Document
● Members: Jordan Cruz, James DeSelms, Josh Hansen, Sean Wilson

1. Network design from each member

Jordan Cruz:
James Deselms:

Josh Hansen:
Sean Wilson:

2. List of lines that were changed

● Line 17: Changed the subnet mask of net.


● Lines 27-33: Added switches before routers and changed the IP addresses of the
routers.
● Lines 36-37: Switched the order in which hosts were added for clarity and adjusted
addresses and default routes.
● Line 42-45: Adjusted interface names and parameters.
● Line 48-53: Add static routes.
3. Screenshots:

-h1 ping h2

- h2 ping h1

4. Answers to these questions:


a. The group learned more about how mininet works and its tools to create
networks. The assignment also helped them better understand subnets and
forwarding.
b. The original program did not forward packets between the hosts because the IP
address forwarding through all the routers were identical (ip=’0.0.0.0’). There is
no way to decipher where the packets source or the destination of the packet.
c. This line is required because the ‘sysctl’ command enables forwarding of this
legacy router. It is by default that the packets will not be forwarded if the router
does not have a route back to the packets source.
d. One way to break the network is to change the IP address of r4 from 192.168.7.2
to 192.168.7.1. This causes h1 ping h2 to output Destination Host Unreachable
errors and causes h2 ping h1 to output Destination Net Unreachable errors.
These errors result from the fact that all of the static routes are configured to
route through specific IP addresses; if a single one of the addresses are
changed, the routers and hosts no longer know where to route the packets.

You might also like