Data Transmission & Computer Network
Lab (3
Connecting 2 LANs
Step 1 :
- Draw the topology.
- Set IPs to each PC In the topology according to the network IP given to each network
- PC0 —> [Link]
- PC1 —> [Link]
- PC2 —> [Link]
- PC3 —> [Link]
- PC4 —> [Link]
- PC5 —> [Link]
Step 2 :
- To Connect the 2 routers via the
Serial DTE cable
- You rst have to add the module of
the serial port to each router.
- Double Click on Router0 —>
Physical —> Turn Power
OFF —> Modules —>
HWIC-2
- Add the module to SLOT 0
—> Turn the Power ON
again
Step 3 :
- Repeat Step 2 to Router1
fi
.
Data Transmission & Computer Network
Step 4 :
- Con gure the Interface between Router0 and Switch0 (FastEthernet 0/0)
Step 5 :
- Repeat Step 4 between Router1 and Switch1 (FastEthernet 0/0)
fi
Data Transmission & Computer Network
Step 6 :
- Set the Default Gateway Address to the PCs
Double Click on PC —> Desktop —> IP Con guration —> Default Gatewa
- For (PC0,PC1,PC2) —> 192.168.1.
- For (PC3,PC4,PC5) —> [Link]
Step 7 :
- Con gure the Interface between Router0 and Router1 (Serial 0/0/0)
On Router0
Step 8 :
- Repeat Step 7 On Router1 (Serial 0/0/0)
fi
fi
y
Data Transmission & Computer Network
Now the topology is connected and con gured, but if you try to ping from PC2 to PC5 for example
it wouldn’t work.
Trying to ping ….
Step 9 :
- The command that will make the networks reachable to each other is
Router(con g)# ip route Destination_network_address subnet_mask Interface
On Router0
fi
fi
Data Transmission & Computer Network
The command Router# show ip route is used now to show you your reachable networks
Step 10 :
- Repeat Step 9 on Router1
Trying to ping again ….
Step 11: Saving the con guration.
fi
.