Options

RIP issue

beginner_ccnabeginner_ccna Member Posts: 59 ■■□□□□□□□□
hi guys,

so having an issue with laptop1 not able to ping laptop2 (please see attached screenshot)

ive set the ip addresses etc and default gateway on both laptops, both can ping their default gateway and vise versa

ive set up rip on both routers with the correct networks to be broadcasted, using version 2

when i run the command 'show ip route', theres no rip entries and only connected entries, however when i run the 'show ip protocols', i can see that the router is using rip

please can someone point me in the right direction as im totally baffled

thanks

Comments

  • Options
    veritas_libertasveritas_libertas Member Posts: 5,746 ■■■■■■■■■■
    Please post a sho run. It will help us a lot to see configuration.
  • Options
    beginner_ccnabeginner_ccna Member Posts: 59 ■■□□□□□□□□
    R1:
    R1#show running-config
    Building configuration...

    Current configuration : 1611 bytes
    !
    version 12.4
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname R1
    !
    !
    !
    enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    no ip domain-lookup
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    interface FastEthernet0/0
    ip address 10.1.1.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface FastEthernet0/1
    ip address 12.1.1.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface Serial0/0/0
    ip address 172.16.0.1 255.240.0.0
    clock rate 128000
    !
    interface Serial0/0/1
    no ip address
    clock rate 2000000
    shutdown
    !
    interface Serial0/1/0
    no ip address
    clock rate 2000000
    shutdown
    !
    interface Serial0/1/1
    no ip address
    clock rate 2000000
    shutdown
    !
    interface FastEthernet1/0
    shutdown
    !
    interface FastEthernet1/1
    shutdown
    !
    interface FastEthernet1/2
    shutdown
    !
    interface FastEthernet1/3
    shutdown
    !
    interface FastEthernet1/4
    shutdown
    !
    interface FastEthernet1/5
    shutdown
    !
    interface FastEthernet1/6
    shutdown
    !
    interface FastEthernet1/7
    shutdown
    !
    interface FastEthernet1/8
    shutdown
    !
    interface FastEthernet1/9
    shutdown
    !
    interface FastEthernet1/10
    shutdown
    !
    interface FastEthernet1/11
    shutdown
    !
    interface FastEthernet1/12
    shutdown
    !
    interface FastEthernet1/13
    shutdown
    !
    interface FastEthernet1/14
    shutdown
    !
    interface FastEthernet1/15
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    router rip
    version 2
    network 10.0.0.0
    network 12.0.0.0
    network 172.16.0.0
    !
    ip classless
    !
    !
    !
    banner login ^C TESTING 1.2.3 ^C
    banner motd ^C UNAUTHORISED USERS BANNED ^C
    !
    !
    !
    !
    line con 0
    line vty 0 4
    login
    !
    !
    !
    end

    R3:
    R3#show running-config
    Building configuration...

    Current configuration : 1877 bytes
    !
    version 12.4
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname R3
    !
    !
    !
    enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    interface FastEthernet0/0
    ip address 192.168.0.1 255.255.0.0
    duplex auto
    speed auto
    !
    interface FastEthernet0/1
    ip address 15.1.1.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface Serial0/0/0
    no ip address
    clock rate 2000000
    shutdown
    !
    interface Serial0/0/1
    no ip address
    clock rate 2000000
    shutdown
    !
    interface Serial0/1/0
    no ip address
    clock rate 2000000
    shutdown
    !
    interface Serial0/1/1
    no ip address
    clock rate 2000000
    shutdown
    !
    interface FastEthernet1/0
    switchport mode access
    shutdown
    !
    interface FastEthernet1/1
    switchport mode access
    shutdown
    !
    interface FastEthernet1/2
    switchport mode access
    shutdown
    !
    interface FastEthernet1/3
    switchport mode access
    shutdown
    !
    interface FastEthernet1/4
    switchport mode access
    shutdown
    !
    interface FastEthernet1/5
    switchport mode access
    shutdown
    !
    interface FastEthernet1/6
    switchport mode access
    shutdown
    !
    interface FastEthernet1/7
    switchport mode access
    shutdown
    !
    interface FastEthernet1/8
    switchport mode access
    shutdown
    !
    interface FastEthernet1/9
    switchport mode access
    shutdown
    !
    interface FastEthernet1/10
    switchport mode access
    shutdown
    !
    interface FastEthernet1/11
    switchport mode access
    shutdown
    !
    interface FastEthernet1/12
    switchport mode access
    shutdown
    !
    interface FastEthernet1/13
    switchport mode access
    shutdown
    !
    interface FastEthernet1/14
    switchport mode access
    shutdown
    !
    interface FastEthernet1/15
    switchport mode access
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    router rip
    version 2
    network 15.0.0.0
    network 192.168.0.0
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    line vty 0 4
    login
    !
    !
    !
    end


    thanks
  • Options
    ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    Go to either R1 or R3 and do a debug ip rip event.

    The answer will jump right out at you for why they aren't sharing their routing table (hint: look for "ignored" packets).
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • Options
    MAC_AddyMAC_Addy Member Posts: 1,740 ■■■■□□□□□□
    Can the two routers ping each other? Looks like either of them know about the other subnets they're routing with RIP.
    2017 Certification Goals:
    CCNP R/S
  • Options
    beginner_ccnabeginner_ccna Member Posts: 59 ■■□□□□□□□□
    ive ran the debug ip rip events command, and got the following:

    R1#RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (10.1.1.1)
    RIP: build update entries
    12.0.0.0/8 via 0.0.0.0, metric 1, tag 0
    RIP: sending v2 update to 224.0.0.9 via FastEthernet0/1 (12.1.1.1)
    RIP: build update entries
    10.0.0.0/8 via 0.0.0.0, metric 1, tag 0


    R3#RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.0.1)
    RIP: build update entries
    15.0.0.0/8 via 0.0.0.0, metric 1, tag 0
    RIP: sending v2 update to 224.0.0.9 via FastEthernet0/1 (15.1.1.1)
    RIP: build update entries
    192.168.0.0/16 via 0.0.0.0, metric 1, tag 0

    can not ping each routers either:

    IP: s=0.0.0.0 (local), d=10.1.1.1 len 128, unroutable

    IP: s=0.0.0.0 (local), d=15.1.1.1 len 128, unroutable


    R1#show ip route
    Gateway of last resort is not set
    10.0.0.0/24 is subnetted, 1 subnets
    C 10.1.1.0 is directly connected, FastEthernet0/0
    12.0.0.0/24 is subnetted, 1 subnets
    C 12.1.1.0 is directly connected, FastEthernet0/1

    R1#show ip protocols
    Routing Protocol is "rip"
    Sending updates every 30 seconds, next due in 26 seconds
    Invalid after 180 seconds, hold down 180, flushed after 240
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Redistributing: rip
    Default version control: send version 2, receive 2
    Interface Send Recv Triggered RIP Key-chain
    FastEthernet0/0 2 2
    FastEthernet0/1 2 2
    Automatic network summarization is in effect
    Maximum path: 4
    Routing for Networks:
    10.0.0.0
    12.0.0.0
    172.16.0.0
    Passive Interface(s):
    Routing Information Sources:
    Gateway Distance Last Update
    Distance: (default is 120)


    R3#show ip route
    Gateway of last resort is not set
    15.0.0.0/24 is subnetted, 1 subnets
    C 15.1.1.0 is directly connected, FastEthernet0/1
    C 192.168.0.0/16 is directly connected, FastEthernet0/0

    R3#show ip protocols
    Routing Protocol is "rip"
    Sending updates every 30 seconds, next due in 24 seconds
    Invalid after 180 seconds, hold down 180, flushed after 240
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Redistributing: rip
    Default version control: send version 2, receive 2
    Interface Send Recv Triggered RIP Key-chain
    FastEthernet0/0 2 2
    FastEthernet0/1 2 2
    Automatic network summarization is in effect
    Maximum path: 4
    Routing for Networks:
    15.0.0.0
    192.168.0.0
    Passive Interface(s):
    Routing Information Sources:
    Gateway Distance Last Update
    Distance: (default is 120)


    your guys help is much appreciated
  • Options
    CodeBloxCodeBlox Member Posts: 1,363 ■■■■□□□□□□
    R1 and R3 seem to have LAN interfaces in a common LAN, but not in the same subnet. Your interfaces aren't labeled but that's how it looks to me.
    Currently reading: Network Warrior, Unix Network Programming by Richard Stevens
  • Options
    ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    ive ran the debug ip rip events command, and got the following:

    R1#RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (10.1.1.1)
    RIP: build update entries
    12.0.0.0/8 via 0.0.0.0, metric 1, tag 0
    RIP: sending v2 update to 224.0.0.9 via FastEthernet0/1 (12.1.1.1)
    RIP: build update entries
    10.0.0.0/8 via 0.0.0.0, metric 1, tag 0
    You have to run the debug for at least 30s. It's not the sent updates you're concerned about (well at least you'll know if you ARE sending updates out that link), it's the received updates.

    The reason you're having a problem will be spelled out exactly in the debug. Something like "ignored update from incorrect network source". The routers are ignoring each other's update messages because they aren't on the same subnet. If you aren't getting the ignored messages (you'll get some from yourself too, but ignore those), it's because your VLANs/trunking across the switches aren't setup properly. So you may have 2 things wrong here.
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • Options
    superjerelmansuperjerelman Member Posts: 30 ■■■□□□□□□□
    Thank you Zartanasaurus. I was labing up his topology trying to help out and it just wasn't working, I was like this should be working lol. I new there was something wrong with the IP add on router 3 they weren't on the same subnet, it just didn't click until you said something. I guess I've been reading to much I can't even troubleshoot anymore icon_cry.gif, but all that will change when I finish reading hopefully :D.
    BS:IT from WGU.
  • Options
    fadhilfadhil Member Posts: 200
    hi guys,

    so having an issue with laptop1 not able to ping laptop2 (please see attached screenshot)

    ive set the ip addresses etc and default gateway on both laptops, both can ping their default gateway and vise versa

    ive set up rip on both routers with the correct networks to be broadcasted, using version 2

    when i run the command 'show ip route', theres no rip entries and only connected entries, however when i run the 'show ip protocols', i can see that the router is using rip

    please can someone point me in the right direction as im totally baffled

    thanks

    I think there is problem of choosing a default gateway to present to a certain network address because when try to multiply a default gateway with a subnet mask,the resulting network address is different from that you wrote on configured RIP version 2.

    thanx
  • Options
    Forsaken_GAForsaken_GA Member Posts: 4,024
    Z pretty much pointed you in the right direction. From the diagram, it looks like they share a common layer 2 domain, but the IP's aren't in the same subnet, so it'll fail the rip source validation check. If you issue no validate-source-update under the rip process on both routers, the routes may show up, though I'd be surprised if they did - you won't have a valid next-hop for the routes unless you nail up a static for the advertised next hop pointing out that interface, or a default route pointing out the interface
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    Im getting confused on this one, please bear with me im a new to this also.

    Im trying to get my head round what you lot are explaining.

    Is it because...

    interface FastEthernet0/1
    ip address 15.1.1.1 255.255.255.0 <<<<<<<<<< Should this be 255.0.0.0
    duplex auto
    speed auto

    and is it because...


    router rip
    version 2
    network 15.0.0.0
    network 192.168.0.0



    I think im confusing myself a lot here, it doesnt have anything to do with the config on R1 does it?


    thanks
Sign In or Register to comment.