Router R1 ports:
- f0/0 ip address: 60.61.62.1/24
- f0/1 ip address: 192.168.1.1/24
Router R2 ports:
- f0/0 ip address: 60.61.62.2/24
- f0/1 ip address: 10.11.12.1/24
Router R3 ports:
- f0/0 ip address: 10.11.12.2/24
- f0/1 ip address: 172.16.1.1/24
PC1 have e0: ip address 192.168.1.2/24
PC2 have e0 ip address 172.16.1.2/24
Lab require: PC1 can connect to PC2
Step1: Configure ip address for ports of Routers
Router R1
Port f0/0
R1#configure terminal
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 60.61.62.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
Port f0/1
R1#configure terminal
R1(config)#interface fastEthernet 0/1
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)no shutdown
R1(config-if)#exit
R1(config)#exit
Router R2
Port f0/0
R2#configure terminal
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 60.61.62.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
Port f0/1
R2#configure terminal
R2(config)#interface fastEthernet 0/1
R2(config-if)#ip address 10.11.12.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
Router R3
Port f0/0
R3#configure terminal
R3(config)#interface fastEthernet 0/0
R3(config-if)#ip address 10.11.12.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
Port f0/1
R3#configure terminal
R3(config)#interface fastEthernet 0/1
R3(config-if)#ip address 172.16.1.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
Step 2: Configure ip for PCs
PC1
ip 192.168.1.2 255.255.255.0 192.168.1.1 (ip-subnetmask-gw)
PC2
ip 172,16,1,2 255.255.255.0 172.16.1.1 (ip-subnetmask-gw)
Step 3: Configure static route
Router R1
R1#configure terminal
R1(config)#ip route 10.11.12.0 255.255.255.0 f0/0
R1(config)#ip route 172.16.1.0 255.255.255.0 f0/0
R1(config)#exit
R1# show ip route
Router R2
R2#configure terminal
R2(config)#ip route 192.168.1.0.0 255.255.255.0 f0/0
R2(config)#ip route 172.16.1.0 255.255.255.0 f0/1
R2(config)#exit
R2#show ip route
Router R3
R3#configure terminal
R3(config)#ip route 192.168.1.0.0 255.255.255.0 f0/0
R3(config)#ip route 60.61.62.0 255.255.255.0 f0/0
R3(config)#exit
R3#show ip route
Step 4: Check connect between PC1 and PC2
PC1> ping 172.16.1.2
84 bytes from 172.16.1.2 icmp_seq=1 ttl=61 time=50.222 ms
84 bytes from 172.16.1.2 icmp_seq=2 ttl=61 time=44.179 ms
84 bytes from 172.16.1.2 icmp_seq=3 ttl=61 time=38.323 ms
84 bytes from 172.16.1.2 icmp_seq=4 ttl=61 time=52.193 ms
84 bytes from 172.16.1.2 icmp_seq=5 ttl=61 time=52.702 ms
PC2> ping 192.168.1.2
84 bytes from 192.168.1.2 icmp_seq=1 ttl=61 time=64.201 ms
84 bytes from 192.168.1.2 icmp_seq=2 ttl=61 time=47.265 ms
84 bytes from 192.168.1.2 icmp_seq=3 ttl=61 time=54.286 ms
84 bytes from 192.168.1.2 icmp_seq=4 ttl=61 time=39.279 ms
84 bytes from 192.168.1.2 icmp_seq=5 ttl=61 time=46.208 ms
Excelente. Espero buenos tutoriales por aquĆ.
ReplyDeleteCould you speak English? I can not understand you. Thanks
DeleteHello,
ReplyDeleteNice post! Very good explanation on CCNA Static Route. Thank you
Thanks for sharing this blog.
ReplyDeleteCCNA courses in Chennai
ReplyDeleteThis is really a nice and informative,
got a great impact on the new technology. Thanks for sharing
ccna Training in Chennai
ccna Training institute in Chennai
Nice and good article. It is very useful for me to learn and understand easily.
ReplyDeleteCCNA Training in Gurgaon
CCNA Course in Gurgaon
In Router3, you should use one more command: R3(config)# ip route 10.11.12.0 255.255.255.0 f0/0.
ReplyDeleteBecause of the connection between PC1 and PC2, if you want to have the ping clearly, PC1 must have the routing from PC1 -> R1, R1 -> R2, R2 -> R3, R3 -> PC2. Otherwise, PC2 is the same.
By the way, thanks for your lab.