Monday, February 6, 2012

IPV6 ROUTING OVERVIEW STATIC ROUTING TO NEXT HOP, INTERFACE

IPV6 Routing Overview
-----------------------
IPV6 routing off by default

To enable use

 ipv6 unicast-routing in global config mpde
 - This enables routing + ICMPv6ND
IPV6 routing is supported by all major protocols
   - static,RIPNG,EIGRPV6,OSPFV3,IS-IS,MP-BGP & Policy Routing
Dynamically learned routes recuese to remote link local addresss
   - SO realistically global unicast are not essentially required
   - Also implies we need to resolve layer to layer 3 for the link local
     address in non broadcast so we need maps for the link local address
IPV6 Static Routing
--------------------
Same static routing implications as IPV4 what we are point at in the static whether it is

  - routing to a next hop
      -  need to resolves layer 2 address of next hop
  - routing to multipoint interface
     - We need to resolves layer 2 address of final destination

proxy nd does not work in ipv6 so
     - we would need a static mapping for each destination
  - routing point to point interface
     - no layer 2 resolution required


LAB
----



r5
----
r5(config)#int s0/1/0
r5(config-if)#ipv6 address 2001:155:0:45::5/64
r5(config-if)#no shut
r5(config-if)#

r4
---
r4(config)#ipv6 unicast-routing
r4(config)#int s0/1/0
r4(config-if)#ipv6 address 2001:155:0:45::4/64
r4(config-if)#no shut
r4(config-if)#exit
r4(config)#exit
r4#ping
*Feb  6 19:37:45.739: %SYS-5-CONFIG_I: Configured from console by co
r4#ping ipv6 2001:155:0:45::5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:155:0:45::5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/4 ms

r4(config)#int lo0
r4(config-if)#ipv6 address 2001:4:4:4::4/128
r4(config-if)#

/128 is equivlant to /32 this a loopback
r5
---


pointing at next hop
---------------------
r5(config)#ipv6 route 2001:4:4:4::4/128 2001:155:0:45::4
r5#sh ipv6 route
IPv6 Routing Table - 7 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
S   2001:4:4:4::4/128 [1/0]
     via 2001:155:0:45::4
C   2001:155::/64 [0/0]
     via ::, Serial0/0/0
L   2001:155::5/128 [0/0]
     via ::, Serial0/0/0
C   2001:155:0:45::/64 [0/0]
     via ::, Serial0/1/0
L   2001:155:0:45::5/128 [0/0]
     via ::, Serial0/1/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0
r5#

r5#ping ipv6 2001:4:4:4::4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:4:4:4::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
r5#

Pointing at point to point interface
------------------------------------
r5#ping ipv6 2001:4:4:4::4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:4:4:4::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
r5#

r5#sh ipv6 route
IPv6 Routing Table - 7 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
S   2001:4:4:4::4/128 [1/0]
     via ::, Serial0/1/0
C   2001:155::/64 [0/0]
     via ::, Serial0/0/0
L   2001:155::5/128 [0/0]
     via ::, Serial0/0/0
C   2001:155:0:45::/64 [0/0]
     via ::, Serial0/1/0
L   2001:155:0:45::5/128 [0/0]
     via ::, Serial0/1/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0
r5#

point to multipoint
-------------------

r1
---
r1(config)#int lo0
r1(config-if)#ipv6 address 2001:1:1:1::1/128
r1(config-if)#

r5
---

r5(config)#ipv6 route 2001:1:1:1::1/128 s0/0/0

r5#ping ipv6 2001:1:1:1::1
*Feb  6 20:16:20.703: %SYS-5-CONFIG_I: Configured from console by console
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:1:1:1::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
r5#

we can not recurse as it is pointing at multipoint int

r5(config)#int s0/0/0
r5(config-if)#frame-relay map ipv6 2001:1:1:1::1 501
r5(config-if)#
r5#ping ipv6 2001:1:1:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:1:1:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/64/68 ms
r5#

No comments:

Post a Comment