RIPng

  1. Routing Information Protocol New Generation
  2. Timers
  3. RIPng format
    1. Next-hop RTE
  4. CLI
    1. IOS
    2. NX-OS

Routing Information Protocol New Generation

  • IPv6 RIP counterpart
  • UDP 521, ff02::9, 3333.ff00.0009
  • receiver increases metric
  • authC is offloaded to IPv6 (IPsec)
  • considers itself as hop for connected (neighbour has metric = 2)
  • no support for static neighbour, passive interface
  • 16 maximum path as default
  • Update size is limited only by MTU
  • several RIPng processes can be used on the same port (distinguished by UDP port)

Timers

  1. update:
    • 30s by default
  2. dead:
    • 180s by default
  3. holddown:
    • 0s default
    • duration to freeze route in RIB
  4. garbage collection
    • 120s default
    • how long route remains in RIP DB after dead timer expires (announced with metric 16 in meanwhile)

RIPng format

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    Command    | Version(0x01) |             0x0000            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+
|                                                               |  |
|                         IPv6 prefix                           |  |
|                                                               |   \
|                                                               |    > RTE
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   /
|          Route tag            | Prefix length |     Metric    |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+

Next-hop RTE

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
|                     IPv6 next-hop address                     |
|                       (:: ≡ originator)                       |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             0x000             |      0x00     |      0xFF     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

All subsequent RTE have this next-hop, unless new next-hop RTE is met

Marker – 0xFF in metric.

CLI

IOS

(config)# ipv6 router rip <NAME>

; disabled by default
(config-router)# poison-reverse

; enabled by default
(config-router)# split-horizon

(config-router)# port <UDP> multicast-group <MGROUP>
(config-if)# ipv6 rip <NAME> enable

; ignores ::/0 received on other interfaces
(config-if)# ipv6 rip <NAME> default-information originate|only

; 1 by default, ingress only
(config-if)# ipv6 rip <NAME> metric-offset <N>
# show ipv6 rip

; interface, redistribute, seed metric, source
# show ipv6 protocols

; maximum path, AD, timers, interfaces, redistribute, split horizon, default route origination
# show ipv6 rip
# show ipv6 rip next-hops

NX-OS

(config)# router rip <TAG>
(config-if)# ip router rip <TAG>