I am a learner. I learned somewhere that we could use static and dynamic routing in the network.
I built the simple network shown in the attached picture.
I configured router8 with static routes to both SUB02 and SUB03.
I configured RIP on router9 with all subnets added, including the inter-routers subnets.
Unfortunately, no traffic can go between SUB01 and SUB02.
What Could be wrong?
I searched the net, Stack Exchange, and even asked AI ChatGPT with no luck.
All ports are UP, no firewalls, no vlans. Just basic configurations for the purpose of testing and learning.
Note: The solution that makes all routers static or dynamic is not the goal, and so please do not post them. The goal is to learn how to get routers to work with one static and the other dynamic.
Attached is the pkt file that has the lab along with all configurations.
UPDATE:
Here is Router8 running config:
Building configuration...
Current configuration : 895 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524DIQ3-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.30 255.255.255.224
ip helper-address 192.168.0.125
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.0.94 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 192.168.0.126 255.255.255.224
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 192.168.0.32 255.255.255.224 192.168.0.93
ip route 192.168.0.192 255.255.255.224 192.168.0.125
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
And here is Router9 running configuration:
Building configuration...
Current configuration : 883 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524J7R3-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.62 255.255.255.224
ip helper-address 192.168.0.157
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.0.93 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 192.168.0.158 255.255.255.224
ip helper-address 192.68.0.157
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
and Here is Router3 running configuration just in case:
Building configuration...
Current configuration : 1276 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.0.30
ip dhcp excluded-address 192.168.0.62
ip dhcp excluded-address 192.168.0.223
ip dhcp excluded-address 192.168.0.222
!
ip dhcp pool SUB01
network 192.168.0.0 255.255.255.224
default-router 192.168.0.30
ip dhcp pool SUB02
network 192.168.0.32 255.255.255.224
default-router 192.168.0.62
ip dhcp pool SUB03
network 192.168.0.192 255.255.255.224
default-router 192.168.0.222
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524R98Q-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.0.125 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.0.157 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 192.168.0.222 255.255.255.224
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 192.168.0.0 255.255.255.224 192.168.0.126
ip route 192.168.0.32 255.255.255.224 192.168.0.158
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
show running-config
command into the question.