01-22-2018 02:05 PM - edited 03-08-2019 01:31 PM
Im beginning my CCNA training again after taking time off from Cisco to focus on other things. I have a very basic packet tracer set up which involves two routers talking to each other which two switches follow along with a PC at the end. I've set up the router RIP route as following:
Router rip
Network 10.0.0.0
Network 192.168.0.0
Network 172.16.0.0
I am able to ping between the routers with no issues. the problem is when I try to ping from PC2 to PC0 or PC1 it wont work. Now if I swap the cable to Serial DCE connection it works just fine. Is there a reason for this? This is my set up:
Router 1's config:
Router#show run
Building configuration...
Current configuration : 858 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 CISCO1941/K9 sn FTX1524OUWU
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 10.0.10.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.0.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1/0
no ip address
clock rate 2000000
!
interface Serial0/1/1
no ip address
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router rip
network 10.0.0.0
network 172.16.0.0
network 192.168.0.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/1/0
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router0 Config:
Test-Router#show run
Building configuration...
Current configuration : 887 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Test-Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX15248QQX
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.0.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1/0
ip address 172.16.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/1/1
no ip address
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router rip
network 10.0.0.0
network 172.16.0.0
network 192.168.0.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/1/0
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
01-22-2018 04:36 PM
Solved my own problem.
For some reason adding a router rip 192.168.0.0 doesnt work. when i spit the actual routes out ex 192.168.2.0 192.168.1.0 etc then it sees that. not sure why
01-22-2018 09:53 PM - edited 01-22-2018 09:56 PM
This is because you are using the RIP V1 which is Classful routing protocol. If you want to use the classless subnet as you mention 192.168.0.0 then use the RIPV2 and no auto summary.
And for routing issue serial interface. Please share the actual lab file, because in your running configuration there is much confusion about default route and RIP and serial interface configuration.
Regards,
Deepak Kumar
01-22-2018 04:37 PM - edited 01-22-2018 04:38 PM
I solved my own problem
router rip
192.168.0.0
wont work.
it wants specific routes ex 192.168.1.0 192.168.2.0 etc. Not sure why
01-22-2018 04:58 PM - edited 01-22-2018 06:30 PM
Hi
I recommend to use RIP version 2 because the version 1 will not accept classless updates, so the configuration on your router should be:
conf t
router rip
version 2
:-)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: