Showing posts with label Routing Information Protocol (RIP). Show all posts
Showing posts with label Routing Information Protocol (RIP). Show all posts

Thursday, 15 January 2026

IPv6 Redistribution between EIGRPv3, OSPFv3 and RIPng

 **IPv6 Route Redistribution** 

Route redistribution in IPv6 allows different routing protocols (e.g., OSPFv3, EIGRP for IPv6, BGP, RIPng, IS-IS) to exchange routing information within the same network. This is useful in multi-vendor or multiprotocol environments where migration or integration is required.

 


**Key Points:**

- Redistribution is typically configured on routers that run multiple routing protocols.

- Careful planning is needed to avoid routing loops, suboptimal paths, or convergence issues.

- Use route filtering, metrics, and administrative distance tuning to control redistribution.

- Default metrics often need manual assignment when redistributing between protocols (e.g., OSPF to EIGRP).

 

**Example Use Case:** 

Connecting an OSPFv3 domain with a BGP IPv6 network, allowing internal routes to be advertised externally and vice versa.

 

**Configuration Note:** 

Always verify routes after redistribution and ensure prefix lengths and next-hop addresses are correctly advertised.


Let's see the configuration:-


Task:

  • Configure the topology as per the diagram
  • Configure the IPv6 addresses as per the topology
  • Configure EIGRPv3 on router 1 and advertise directly 
  • Configure OSPFv3 on router 2 and advertise FastEthernet 2/0 - 3/0
  • Configure EIGRPv3 on router 2 and advertise FastEthernet 0/0
  • Configure OSPFv3 on router 3 and advertise FastEthernet 3/0
  • Configure RIPng on router 3 and advertise FastEthernet 2/0
  • Configure redistribution between EIGRPv3 and OSPFv3 and vice versa 
  • Configure redistribution between RIPng and OSPFv3 and vice versa
  • Make sure all the routes are exchanged 
  • ensure the connectivity and verify with show commands



R1(config)#ipv6 unicast-routing
R1(config)#interface fastethernet 0/0
R1(config-if)#ipv6 address 2001:1122:1122:1122::1/64
R1(config-if)#no shutdown
R1(config-if)#exit

R1(config)#interface fastethernet 2/0
R1(config-if)#ipv6 address fc00:1111:1111:1111::1/64
R1(config-if)#no shutdown
R1(config-if)#no keepalive
R1(config-if)#exit
R1(config)#

R2(config)#ipv6 unicast-routing
R2(config)#interface fastethernet 0/0
R2(config-if)#ipv6 address 2001:1122:1122:1122::2/64
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet 2/0
R2(config-if)#ipv6 address fc00:2222:2222:2222::1/64
R2(config-if)#no shutdown
R2(config-if)#no keepalive
R2(config-if)#exit
R2(config)#interface fastethernet 3/0
R2(config-if)#ipv6 address 2001:2233:2233:2233::1/64
R2(config-if)#no shutdown
R2(config-if)#exit



R3#show ipv6 interface brief
FastEthernet0/0            [administratively down/down]
    unassigned
ATM1/0                     [administratively down/down]
    unassigned
FastEthernet2/0            [up/up]
    FE80::C803:A5FF:FE68:38
    FC00:3333:3333:3333::1
FastEthernet3/0            [up/up]
    FE80::C803:A5FF:FE68:54
    2001:2233:2233:2233::2



R1(config)#ipv6 router eigrp 65100
R1(config-rtr)#no shutdown
R1(config-rtr)#router-id 11.11.11.11
R1(config-rtr)#exit

R1(config)#interface fastethernet 0/0
R1(config-if)#ipv6 eigrp 65100
R1(config-if)#exit

R1(config)#interface fastethernet 2/0
R1(config-if)#ipv6 eigrp 65100
R1(config-if)#exit

R2(config)#ipv6 router eigrp 65100
R2(config-rtr)#no shutdown
R2(config-rtr)#router-id 22.22.22.22
R2(config-rtr)#exit

R2(config)#interface fastethernet 0/0
R2(config-if)#ipv6 eigrp 65100
R2(config-if)#exit

R2(config)#IPv6 router ospf 100
R2(config-rtr)#router-id 22.22.22.22
R2(config-rtr)#exit

R2(config)#interface fastethernet 2/0
R2(config-if)#ipv6 ospf 100 area 0
R2(config-if)#exit

R2(config)#interface fastethernet 3/0
R2(config-if)#ipv6 ospf 100 area 0
R2(config-if)#exit


R3(config)#IPv6 router ospf 100
R3(config-rtr)#router-id 33.33.33.33
R3(config-rtr)#exit

R3(config)#interface fastethernet 3/0
R3(config-if)#ipv6 ospf 100 area 0
R3(config-if)#exit


R3(config)#ipv6 unicast-routing
R3(config)#interface fastEthernet 2/0
R3(config-if)#ipv6 rip internetworks enable
R3(config-if)#exit


R2(config)#ipv6 router ospf 100
R2(config-rtr)#redistribute eigrp 65100 metric 100 metric-type 1 include-connected
R2(config-rtr)#exit

R2(config)#ipv6 router eigrp 65100
R2(config-rtr)#redistribute ospf 100 include-connected metric 1000 2000 255 1 1500
 metric <bw> <delay> <reliability> <load> <mtu>
R2(config-rtr)#exit

R3(config)#ipv6 router ospf 100
R3(config-rtr)#redistribute rip internetworks include-connected metric 100 metric-type 1
R3(config-rtr)#exit


R1#show ipv6 route
IPv6 Routing Table - Default - 8 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:1122:1122:1122::/64 [0/0]
     via FastEthernet0/0, directly connected
L   2001:1122:1122:1122::1/128 [0/0]
     via FastEthernet0/0, receive
EX  2001:2233:2233:2233::/64 [170/3074560]
     via FE80::C802:59FF:FE98:0, FastEthernet0/0
C   FC00:1111:1111:1111::/64 [0/0]
     via FastEthernet2/0, directly connected
L   FC00:1111:1111:1111::1/128 [0/0]
     via FastEthernet2/0, receive
EX  FC00:2222:2222:2222::/64 [170/3074560]
     via FE80::C802:59FF:FE98:0, FastEthernet0/0
EX  FC00:3333:3333:3333::/64 [170/3074560]
     via FE80::C802:59FF:FE98:0, FastEthernet0/0
L   FF00::/8 [0/0]
     via Null0, receive

R2#show ipv6 protocol
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "eigrp 65100"
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Interfaces:
    FastEthernet0/0
  Redistribution:
    Redistributing protocol ospf 100 with metric 0 include-connected
  Maximum path: 16
  Distance: internal 90 external 170

IPv6 Routing Protocol is "ospf 100"
  Interfaces (Area 0):
    FastEthernet3/0
    FastEthernet2/0
  Redistribution:
    Redistributing protocol eigrp 65100 with metric 100 type 1 include-connected

If you like this blog, please visit our YOUTUBE channel https://www.youtube.com/@internetworkss


Tuesday, 30 October 2018

Routing Information Protocol (RIP)



Routing Information Protocol (RIP)

Routing information protocol (RIP) is a true distance-vector routing protocol. RIP sends the complete routing table out of all active interfaces every 30 seconds. It relies on hop count to determine the best route to a remote network, but it has a maximum 15 by default, so a destination of 16 would be considered unreachable. RIP works well in very small networks, but it’s not good at large networks with WAN links or on networks with a large numbers of routers installed and 
completely useless on networks have links with variable bandwidth.

RIP version 1 uses only classful routing, its means all devices in the network must use the same subnet mask, this is because RIP version 1 doesn’t send updates with subnet mask information in tow.
RIP version 2 provides something called prefix routing and does send subnet mask information with its route update. This is called classless routing.

In short

Routing Information Protocol version 1

·         Open standard protocol
·         Classful routing protocol
·         Updates are broadcast via 255.255.255.255
·         Administrative distance is 120
·         Metric: Hop counts, maximum Hop counts: 15  
·         Load balancing of 4 equal paths
·         Used for small organizations
·         Periodic updates and exchange entire routing table for every 30 seconds

Routing Information Protocol version 2

·         Classless routing protocol
·         Support VLSM
·         Supports authentication
Advantage of RIP
·         Easy to configure
·         No design constraints like OSPF protocol
·         No complexity
·         Less overhead
Disadvantage of RIP
·         Bandwidth utilization is very high as broadcast foe every 30 seconds
·         Works only on hop count
·         Not scalable as hop count is only 15
·         Slow convergence


Configuring RIPv2


Topology 

GOAL:

  • design the topology and assign ip addresses as per our diagram
  • make sure that the interface should be in UP  state.
  • configuring dynamic RIPv2. 
  • verify routing table and reachability LAN between LUKE, MARK, and JOHN. by doing ping and traceroute.   
LUKE#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol

Serial3/0              10.1.1.1           YES manual up                    up
Loopback0      192.168.100.50   YES manual up                    up

MARK#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol

Serial3/0              10.1.1.2        YES manual up                    up
Serial3/1              11.1.1.2        YES manual up                    up
Loopback0              192.168.150.75  YES manual up                    up

JOHN#show ip interface brief
Interface              IP-Address           OK? Method Status                Protocol
Serial3/1              11.1.1.1                    YES manual up                     up
Loopback0              192.168.200.100    YES manual up                    up


LUKE(config)#router rip
LUKE(config-router)#version 2
LUKE(config-router)#network 10.0.0.0
LUKE(config-router)#network 192.168.100.0

MARK(config)#router rip
MARK(config-router)#version 2
MARK(config-router)#network 10.0.0.0
MARK(config-router)#network 192.168.150.0
MARK(config-router)#network 11.0.0.0

JOHN(config)#router rip
JOHN(config-router)#version 2
JOHN(config-router)#network 192.168.200.0
JOHN(config-router)#network 11.0.0.0


LUKE#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.0.0/8 is directly connected, Serial3/0
L        10.1.1.1/32 is directly connected, Serial3/0
R     11.0.0.0/8 [120/1] via 10.1.1.2, 00:00:09, Serial3/0
      192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.100.0/24 is directly connected, Loopback0
L        192.168.100.50/32 is directly connected, Loopback0
R     192.168.150.0/24 [120/1] via 10.1.1.2, 00:00:09, Serial3/0
R     192.168.200.0/24 [120/2] via 10.1.1.2, 00:00:09, Serial3/0

MARK#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.0.0/8 is directly connected, Serial3/0
L        10.1.1.2/32 is directly connected, Serial3/0
      11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        11.0.0.0/8 is directly connected, Serial3/1
L        11.1.1.2/32 is directly connected, Serial3/1
R     192.168.100.0/24 [120/1] via 10.1.1.1, 00:00:19, Serial3/0
      192.168.150.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.150.0/24 is directly connected, Loopback0
L        192.168.150.75/32 is directly connected, Loopback0
R     192.168.200.0/24 [120/1] via 11.1.1.1, 00:00:25, Serial3/1


JOHN#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

R     10.0.0.0/8 [120/1] via 11.1.1.2, 00:00:05, Serial3/1
      11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        11.0.0.0/8 is directly connected, Serial3/1
L        11.1.1.1/32 is directly connected, Serial3/1
R     192.168.100.0/24 [120/2] via 11.1.1.2, 00:00:05, Serial3/1
R     192.168.150.0/24 [120/1] via 11.1.1.2, 00:00:05, Serial3/1
      192.168.200.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.200.0/24 is directly connected, Loopback0
L        192.168.200.100/32 is directly connected, Loopback0



LUKE#ping 192.168.200.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.200.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/42/48 ms

LUKE#ping 192.168.150.75
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.150.75, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/18/20 ms

LUKE#ping 11.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms


MARK#ping 192.168.100.50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/16/24 ms

MARK#ping 192.168.200.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.200.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/14/20 ms



JOHN#ping 192.168.100.50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/44/48 ms

JOHN#ping 192.168.150.75
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.150.75, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/22/28 ms

JOHN#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/30/40 ms



LUKE#traceroute 192.168.200.100
Type escape sequence to abort.
Tracing the route to 192.168.200.100
VRF info: (vrf in name/id, vrf out name/id)
  1 10.1.1.2 28 msec 24 msec 32 msec
  2 11.1.1.1 36 msec 64 msec 48 msec

LUKE#traceroute 192.168.150.75
Type escape sequence to abort.
Tracing the route to 192.168.150.75
VRF info: (vrf in name/id, vrf out name/id)
  1 10.1.1.2 16 msec 20 msec 28 msec
LUKE#traceroute 11.1.1.1

Type escape sequence to abort.
Tracing the route to 11.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
  1 10.1.1.2 20 msec 16 msec 8 msec
  2 11.1.1.1 32 msec 36 msec 32 msec

MARK#traceroute 192.168.100.50
Type escape sequence to abort.
Tracing the route to 192.168.100.50
VRF info: (vrf in name/id, vrf out name/id)
  1 10.1.1.1 24 msec 12 msec 28 msec

MARK#traceroute 192.168.200.100
Type escape sequence to abort.
Tracing the route to 192.168.200.100
VRF info: (vrf in name/id, vrf out name/id)
  1 11.1.1.1 24 msec 44 msec 20 msec


JOHN#traceroute 192.168.100.50
Type escape sequence to abort.
Tracing the route to 192.168.100.50
VRF info: (vrf in name/id, vrf out name/id)
  1 11.1.1.2 12 msec 12 msec 12 msec
  2 10.1.1.1 48 msec 32 msec 40 msec

JOHN#traceroute 192.168.150.75
Type escape sequence to abort.
Tracing the route to 192.168.150.75
VRF info: (vrf in name/id, vrf out name/id)
  1 11.1.1.2 16 msec 20 msec 8 msec

JOHN#traceroute 10.1.1.1
Type escape sequence to abort.
Tracing the route to 10.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
  1 11.1.1.2 20 msec 20 msec 20 msec
  2 10.1.1.1 28 msec 32 msec 28 msec






 






























How to configure ASA Dynamic routing?

  Configuring EIGRP on Cisco ASA: A Quick Lab Guide Setting up EIGRP on a Cisco Adaptive Security Appliance (ASA) is a bit different from do...