Monday, February 6, 2012

IPV6 RIPNG

RIPNG OVERVIEW
----------------
RFC 2080 RIPNG FOR IPV6
similar in operation to RIPV2
   - Transport via udp port 521 to multicast ff02::9
enabled at link level
    ipv6 rip [process-id] enable
 this automatically enable global process
split horzion enabled at process level by default
disabled via interface command
no split-horizon

RIPNG PACKET FORMAT
--------------------------------

 1)Command-is set to 1 for request or 2 for Response
2) Version is always 1 as the first version of RIPNG
3) IPV6 prefix is the prefix we are advertising
4)Route Tag same as rip route allows internal rip routes to be distingushed from external redistributed routes
5) Prefix-lenght- Specfiy the significant part of the address like a mask
6) Metric is a hop count 16 hops being max same as the rip predesscors


In RIP NG rather than send the next hop within each route entry advertisement we

We send a special Advertisment of next hop which applies to all following prefix advertisments until the another next hop rte

so basically we send the next hop first then all the advertisements that use this next hop then the next hop we send all the advertisiements that use this next hop will be sent it saves on processing in general in most cases routes will be using usually 1 same next hop  















TO Enable RIPNG
---------------------

int fa0/0.146
ipv6 rip 1 enable
sh ipv6 route rip
sh ipv6 local - will show full ip address of connected interfaces
debug ipv6 rip

Routes recieved will always point at link local address to manually assign a link local
address
int s0/0
ipv6 address FE80::1 = link-local


LAB
----



R5
---

r5(config)#int s0/0/0
r5(config-if)#ipv6 rip 1 enable
r5(config-if)#frame-relay map ipv6 2001:155::2 502
r5(config-if)#

R1
---

r1(config)#int s0/0
r1(config-if)#ipv6 rip 1 enable
r1(config-if)#

r1(config)#int lo0
r1(config-if)#ipv6 rip 1 enable
r1(config-if)#

R2
---

r2(config)#ipv6 unicast-routi
r2(config)#int s0/0
r2(config-if)#ipv6 address 2001:155::2/64
r2(config-if)#ipv6 rip 1 enable
r2(config-if)#frame-relay map ipv6 2001:155::5 ?
  <16-1007>  DLCI
  vc-bundle  vc-bundle
r2(config-if)#frame-relay map ipv6 2001:155::5 205
r2(config-if)#

r2(config)#int lo0
r2(config-if)#ipv6 address 2001:2:2:2::2/128
r2(config-if)#ipv6 rip 1 enable
r2(config-if)#

r5
---
r5#sh ipv
*Feb  6 20:33:36.911: %SYS-5-CONFIG_I: Configured from console by console6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external
R   2001:1:1:1::1/128 [120/2]
     via FE80::20D:28FF:FE70:2040, Serial0/0/0
R   2001:2:2:2::2/128 [120/2]
     via FE80::21A:A2FF:FE64:DF80, Serial0/0/0
C   2001:155::/64 [0/0]
     via ::, Serial0/0/0
L   2001:155::5/128 [0/0]
     via ::, Serial0/0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0
r5#

we are seeing both routes of loopbacks of r1 and r2

r1
---
r1#sh ipv6 route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external
LC  2001:1:1:1::1/128 [0/0]
     via ::, Loopback0
C   2001:155::/64 [0/0]
     via ::, Serial0/0
L   2001:155::1/128 [0/0]
     via ::, Serial0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0
r1#

we are not learning the route on r1 of r2 loopback


r5
---

r5(config)#ipv6 router rip ?
  WORD  User selected string identifying this process
r5(config)#ipv6 router rip 1
r5(config-rtr)#no ?
  distance         Administrative distance
  distribute-list  Filter networks in routing updates
  maximum-paths    Forward packets over multiple paths
  poison-reverse   Poison reverse updates
  port             Port and multicast address
  redistribute     Redistribute IPv6 prefixes from another routing protocol
  shutdown         Shutdown protocol
  split-horizon    Split horizon updates
  timers           Adjust routing timers
r5(config-rtr)#no split-horizon
r5(config-rtr)#

r1
---
r1#sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external
LC  2001:1:1:1::1/128 [0/0]
     via ::, Loopback0
R   2001:2:2:2::2/128 [120/3]
     via FE80::213:19FF:FED6:F4D2, Serial0/0
C   2001:155::/64 [0/0]
     via ::, Serial0/0
L   2001:155::1/128 [0/0]
     via ::, Serial0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0
r1#
now we are learning the routes

No comments:

Post a Comment