EXPERIMENT NO.3
EXPERIMENT NO.3
AIM: Design Static routing (OSPF) and dynamic routing (RIP) using packet tracer.
THEORY:
Static routing, is the process in which the system network administrator would manually configure
network routers with all the information necessary for successful packet forwarding. The
administrator constructs the routing table in every router by putting in the entries for every network
that could be a destination. Static routes to network destinations are unchangeable.
Manually configuring routes on your router can be both beneficial and disadvantageous. Static
routing has the following benefits:
● No extra processing and added resources as in the case of dynamic routing protocols
● No extra bandwidth requirement caused by the transmission of excessive packets for the
routing table update process
● Extra security by manually admitting or rejecting routing to certain networks
● Network Administrators need to know the complete network topology very well in order
to configure routes correctly
● Topology changes need manual adjustment to all routers something which is very time
consuming
To manually insert a static route into the Cisco routers routing table the following command
syntax needs to be followed in global configuration mode:
In this experiment first we have designed static routing with 2 routers and then with
3 routers and 2 switches.
Static routing:
1) With 2 routers: (connection between PC to router use copper cross over cable and
between routers use serial interface with clock sign)
Router0
Fastethernet0/0 IP Address: 10.0.0.1
Serial0/1/0 IP Address: 20.0.0.1
Clock rate: 64000
Router1
Fastethernet0/0 IP Address: 30.0.0.1
Serial0/1/0 IP Address : 20.0.0.2
Clock rate: 64000
2) With 3 routers and 2 switches: ( use copper straight through cable instead of copper
crossover cable for connection between switch and PC and switch to router)
PC3
Gateway: 50.0.0.1
IP Address: 50.0.0.3 Default Mask: 255.0.0.0
Router0
Fastethernet0/0 IP Address: 10.0.0.1
Serial0/1/0 IP Address: 172.16.1.1
Clock rate: 64000
Router1
Serial0/1/0 IP Address : 172.16.1.2
Serial0/1/1 IP Address : 170.16.1.1
Clock rate: 64000
Router3
Fastethernet0/0 IP Address: 50.0.0.1
Serial0/1/0 IP Address: 170.16.1.2
Clock rate: 64000
• Ping Test: Successful bidirectional ping between PC0 (10.0.0.2) and PC1 (30.0.0.2) verifies
connectivity.
• Routing Table Verification: Ensure static routes are configured as specified in both routers.
Dynamic routing
1) With 2 routers:
PC1
Gateway: 176.16.1.1
IP Address: 176.16.1.2 Default Mask: 255.0.0.0
Router0
Fastethernet0/0 IP Address: 10.0.0.1
Serial0/1/0 IP Address: 20.0.0.1
Clock rate: 64000
Router1
Fastethernet0/0 IP Address: 176.16.1.1
Serial0/1/0 IP Address : 20.0.0.2
Clock rate: 64000
1. Ping Tests:
o From PC0 (10.0.0.2) to PC1 (176.16.1.2).
o From PC1 (176.16.1.2) to PC0 (10.0.0.2).
o Successful replies confirm that RIP is correctly configured and data can traverse both
routers.
2. Routing Table Entries:
o Router0:
▪ RIP-learned route for 176.16.0.0/8 via 20.0.0.2.
o Router1:
▪ RIP-learned route for 10.0.0.0/8 via 20.0.0.1.
3. Simulation Results:
o Use Packet Tracer's simulation mode to visualize the path taken by packets and verify
correct forwarding through Router0 and Router1.