Diagnosis

Network Diagnose & Troubleshoot

Reachabilty Diagnosis and Troubleshoot:

  1. Check IPv4/IPv6 address of port and Port up/down status.
  2. ping each others physical interface
  3. Ping successful, check ping loopbacks(or advertised/ received prefixes)
  4. Ping unsucessful = neighborship down
  5. check RIP version on both ends
  6. check network prefixes in case of IPv4 and IPv6 rip config per interface in case of IPv6.
  7. Ping successful, neighborship down on both ends. Routes are available via other protocol.
  8. In above case, do sh ip cef on both ends.
  9. When redistributing in bgp, do specify metric. It denotes the max hop the route reachable in the client network.
  10. When using as PE-CE MP-BGP, nexthops must be reachable, for the remote routes to be reflected in CE FIB.


Expected Outputs:

RP/0/0/CPU0:PE1#sh route vrf M ipv4 | b Gateway
Sun Dec 16 19:23:27.539 UTC
Gateway of last resort is not set

C    2.0.0.0/24 is directly connected, 01:53:19, Loopback1
L    2.0.0.1/32 is directly connected, 01:53:19, Loopback1
R    2.0.0.18/32 [120/1] via 2.1.18.18, 01:38:56, GigabitEthernet0/0/0/3
C    2.1.18.0/24 is directly connected, 02:47:24, GigabitEthernet0/0/0/3
L    2.1.18.1/32 is directly connected, 02:47:24, GigabitEthernet0/0/0/3
RP/0/0/CPU0:PE1#

RP/0/0/CPU0:PE1#sh rip vrf M database
Sun Dec 16 19:25:35.470 UTC

Routes held in RIP's topology database:
2.0.0.18/32
    [1] via 2.1.18.18, next hop 2.1.18.18, Uptime: 8s, GigabitEthernet0/0/0/3

2.0.0.0/24
    [0]    directly connected, Loopback1
2.1.18.0/24
    [0]    directly connected, GigabitEthernet0/0/0/3
2.0.0.0/8    auto-summary

RP/0/0/CPU0:PE1#sh rip vrf M statistics
Sun Dec 16 19:27:13.224 UTC

RIP statistics:
Total messages sent:        264
Message send failures:      0
Regular updates sent:       256
Queries responsed to:       3
RIB updates:                5
Total packets received:     330

==========================================================================

Auto Summarization fix (Ripv2)

router rip
version 2
network 10.0.10.0
!
===> after sh run it will appear as 10.0.0.0 due to default auto summarization. Also show ip route on neighbor will show 10.0.0.0/8 network.
 
Solve this for all rip neighbors (router rip config) do ==>

router rip
no auto-summary
!

Solve for particular prefix available via particular interface ==>

int e0/0
ip summary-address rip 10.0.0.0 255.255.0.0
!