Requirement:
- Configure IP addresses as given
- Configure discontigeous networks on router 1 and router 3 loopback 0.
- Run Rip version 1 on all routers
- Check if both Discontigeous networks are reachable from router 6. We will ping both networks and you will see results.
Router 1 configuration R1(config)#interface Loopback0 R1(config-if)# ip address 200.100.100.1 255.255.255.128 R1(config)#interface FastEthernet0/0 R1(config-if)#ip address 1.1.1.1 255.255.255.252 R1(config-if)# no shutdown R1(config)#router rip R1(config-router)#version 1 R1(config-router)#network 1.0.0.0 R1(config-router)#network 200.100.100.0 Router 2 configuration R2(config)# interface FastEthernet0/0 R2(config-if)#ip address 1.1.1.2 255.255.255.252 R2(config-if)# no shutdown R2(config)# interface FastEthernet0/1 R2(config-if)#ip address 2.2.2.1 255.255.255.252 R2(config-if)#no shutdown R2(config)# interface FastEthernet1/0 R2(config-if)#ip address 3.3.3.1 255.255.255.252 R2(config-if)#speed 100 R2(config-if)#duplex full R2(config-if)#no shutdown R2(config)# router rip R2(config-router)#version 1 R2(config-router)#network 1.0.0.0 R2(config-router)#network 2.0.0.0 R2(config-router)#network 3.0.0.0 R1# show ip protocols | Router 3 configuration R3(config)#interface Loopback0 R1(config-if)# ip address 200.100.100.150 255.255.255.128 R3(config)#interface FastEthernet0/0 R3(config-if)# ip address 2.2.2.2 255.255.255.252 R3(config-if)#no shutdown R3(config)#router rip R3(config-router)#version 1 R3(config-router)#network 2.0.0.0 R3(config-router)#network 200.100.100.0 Router 6 configuration R6(config)#interface FastEthernet0/0 R6(config-if)#ip address 3.3.3.2 255.255.255.252 R6(config-if)# speed 100 R6(config-if)# full-duplex R6(config-if)#no shutdown R6(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.1 |
R2# Show ip route
Here we ping from Router 6 to R1 and R3 loopback interfaces ip addresses ( which are discontigeous). Let see results. From undermentioned ping images, we have found that ping to 200.100.100.150 is successful but ping to 200.100.100.1 is unsuccessful.
Here we have tried to find reason for different result of ping.
Ahaa !! Reason found.
In both cases, Router 2 is forwarding packets to 2.2.2.2 which is at fastethernet 0/1 by following routing table first entry and hence reach 200.100.100.150 but fail to reach 200.100.100.1.
Ahaa !! Reason found.
In both cases, Router 2 is forwarding packets to 2.2.2.2 which is at fastethernet 0/1 by following routing table first entry and hence reach 200.100.100.150 but fail to reach 200.100.100.1.