Tuesday, February 14, 2012

IPV6 MULTICASTING AND EMBEDDED RP (ERP LAB NOT FINISHED)

IPV6 MULTICAST ROUTING

  • Host to Router Communication is done by MLD which is embedded in ICMPV6 this protocol takes over from IGMP in IPV6.
  •   Router to Router Communication PIM still remains
  • Use reserved range FF00::/8 .The first 2 bytes are FFXy where x = flags and y= scope - scope is whether link local site local etc.Both X and Y are 4 bit fields
  • Scope values would be 1 for node 2 for link 5 for site 8 organization and E for global so  for example FF02 would be link


Common IPV6 Multicast Address

Link Local Scope
    -FF02::1 - All node address
    -FF02::2 - All routers address
    -FF02::5 - All ospf routers
    -FF02::6 - OSPF DR
    -FF02::9 - Rip Routers
    -FF02::A -Eigrp Routers
    -FF02::D -All PIM routers
    -FF02::1:FFXX:XXXX  Solicate Node Address
Site Local
-FF05::2 All routers address
 FF05::1:3 All Dhcp servers
 FF05::1:4 all dhcp relays

  • Only 2 bits in flags are standardized P= 1 Emmbeeded Unicast Address (like Embedded RP) T=1 Temporary address normally t=0 in applications
  • There is no dense mode in ipv6 multicasting
  • AutoRP is gone from ipv6 we have the option static or bsr or embedded rp
  • Embeddded RP the rp address is embedded in the multicast group address so the first 64 bits are for rp address and last 32 bits are for groups
  • so rp address = 2001:1234:5678:ABCD::1/64  in embedded rp for a group id of 1 we would get FF7E:0140:2001:1234:5678:ABCD::1  we can see that its global scope by thee FF7E the 0140 part                                                                                                                                       

Commands


IPV6 Multicast-routing - enables IPV6 Multicasting

no interface commands required to enable PIM once we issue IPV6 multicasting it enables pim on the interfaces

we can disabled per interface using
 no ipv6 pim

MLD is also enabled with IPV6 Multicasting and is disabled with disabling pim

ipv6 pim rp-address "address" - statically assign an rp address

show ipv6 pim range-list  will alow you to view which rp is mapped it will also give detail on autoassigned groups


int fa0/0
ipv6 mld join-group ffoe::1  -- to join a group with mld

sh ipv6 mld interfaces
sh ipv6 mld groups

  ipv6 pim BSR candidate rp "ipv6" - Canidate RP

  ipv6 pim BSR candidate bsr "IPV6"  - Candidate BSR

ipv6 pim bsr announced rp "ipv6" - statically program BSR with RP

show ipv6 pim range-list - check for learned rp


LAB


OK for the lab i will set up a few ipv6 multicast groups and join them.
It is all very much the same the big difference is the removal of igmp and the
introduction of mld in it place. MLD is inbuilt to icmpv6 so it cuts down the requirement of
additional protocol like igmp

First thing first i need to get my rp address everywhere i will use BSR as autorp is not
support in ipv6 multicasting i will use r5 as the cadidate rp and also the bsr router


r5
--
first configure the interfaces
r5(config)#ipv6 unicas
r5(config)#int lo0
r5(config-if)#ipv6 address 2001:6:6:6::6/128
r5(config-if)#int s0/0/0
r5(config-if)#ipv6 address 2001:155::5/64
r5(config-if)#int s0/1/0
r5(config-if)#ipv6 address 2001:155:0:45::5/64
r5(config-if)#int fa0/0
r5(config-if)#ipv6 address 2001:155:0:58::5/64
r5(config-if)#
get the routing underlying igp is required as always
r5(config-if)#int s0/0/0
r5(config-if)#ipv6 rip 1 enable
r5(config-if)#int s0/1/0
r5(config-if)#ipv6 rip 1 enable
r5(config-if)#int lo0
r5(config-if)#ipv6 rip 1 enable
r5(config-if)#int f0/0
r5(config-if)#ipv6 rip 1 enable

OK now i will enable multicast
r5(config)#ipv6 multicast-routing


this all that is required to enable multicast this also auto enables pim and mld on ipv6 interfaces

r5#sh ipv6 mld int
Loopback0 is up, line protocol is up
  Internet address is FE80::213:19FF:FED6:F4D2/10
  MLD is enabled on interface
  Current MLD version is 2
  MLD query interval is 125 seconds
  MLD querier timeout is 255 seconds
  MLD max query response time is 10 seconds
  Last member query response interval is 1 seconds
  MLD activity: 7 joins, 1 leaves
  MLD querying router is FE80::213:19FF:FED6:F4D2 (this system)
FastEthernet0/0 is up, line protocol is up
  Internet address is FE80::213:19FF:FED6:F4D2/10
  MLD is enabled on interface
  Current MLD version is 2
  MLD query interval is 125 seconds
  MLD querier timeout is 255 seconds
  MLD max query response time is 10 seconds
  Last member query response interval is 1 seconds
  MLD activity: 7 joins, 1 leaves
  MLD querying router is FE80::213:19FF:FED6:F4D2 (this system)
FastEthernet0/1 is administratively down, line protocol is down
  Internet address is ::/0
  MLD is disabled on interface
Serial0/0/0 is up, line protocol is up
  Internet address is FE80::213:19FF:FED6:F4D2/10
  MLD is enabled on interface
  Current MLD version is 2
  MLD query interval is 125 seconds
  MLD querier timeout is 255 seconds
  MLD max query response time is 10 seconds
  Last member query response interval is 1 seconds
  MLD activity: 7 joins, 1 leaves
  MLD querying router is FE80::213:19FF:FED6:F4D2 (this system)
Serial0/1/0 is up, line protocol is up
  Internet address is FE80::213:19FF:FED6:F4D2/10
  MLD is enabled on interface
  Current MLD version is 2
  MLD query interval is 125 seconds
  MLD querier timeout is 255 seconds
  MLD max query response time is 10 seconds
  Last member query response interval is 1 seconds
  MLD activity: 7 joins, 1 leaves
  MLD querying router is FE80::213:19FF:FED6:F4D2 (this system)
Tunnel0 is up, line protocol is up
  Internet address is FE80::213:19FF:FED6:F4D2/10
  MLD is disabled on interface
r5#

Also PIM
r5#sh ipv6 pim int
Interface          PIM  Nbr   Hello  DR
                        Count Intvl  Prior
Loopback0          on   0     30     1
    Address: FE80::213:19FF:FED6:F4D2
    DR     : this system
FastEthernet0/0    on   0     30     1
    Address: FE80::213:19FF:FED6:F4D2
    DR     : this system
FastEthernet0/1    off  0     30     1
    Address: ::
    DR     : not elected
Serial0/0/0        on   0     30     1
    Address: FE80::213:19FF:FED6:F4D2
    DR     : this system
Serial0/1/0        on   0     30     1
    Address: FE80::213:19FF:FED6:F4D2
    DR     : this system
Tunnel0            off  0     30     1
    Address: FE80::213:19FF:FED6:F4D2
    DR     : not elected
r5#

OK lets enable BSR on r5

to enable rp candidate
r5(config)#ipv6 pim bsr candidate rp 2001:6:6:6::6

also r5 will be the bsr mapping agent
r5(config)#ipv6 pim bsr candidate bsr 2001:6:6:6:6

OK Lets make sure r5 see itself as canidate rp with a new command

r5#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 00:06:09
  FF34::/32 Up: 00:06:09
  FF35::/32 Up: 00:06:09
  FF36::/32 Up: 00:06:09
  FF37::/32 Up: 00:06:09
  FF38::/32 Up: 00:06:09
  FF39::/32 Up: 00:06:09
  FF3A::/32 Up: 00:06:09
  FF3B::/32 Up: 00:06:09
  FF3C::/32 Up: 00:06:09
  FF3D::/32 Up: 00:06:09
  FF3E::/32 Up: 00:06:09
  FF3F::/32 Up: 00:06:09
BSR SM RP: 2001:6:6:6::6 Exp: 00:02:27 Learnt from : 2001:6:6:6::6
  FF00::/8 Up: 00:02:02
r5#
we see all the auto groups we joined then down the end we see the rp candidate address 2001:6:6:6::6
sw2
-----
s2(config)#int vlan 58
s2(config-if)#exit
s2(config)#ipv6 unicast-routing
s2(config)#int vlan 58
s2(config-if)#ipv6 address 2001:155:0:58::2/64
s2(config-if)#ipv6 rip 1 enable
s2(config-if)#

OK there does not seem to be support for multicasting ipv6 on the 3560 or maybe just this image
s2(config)#ipv6 ?
  access-list      Configure access lists
  cef              Cisco Express Forwarding for IPv6
  general-prefix   Configure a general IPv6 prefix
  hop-limit        Configure hop count limit
  host             Configure static hostnames
  icmp             Configure ICMP parameters
  mld              Global MLD Snooping enable for Catalyst Vlans
  neighbor         Neighbor
  ospf             OSPF
  prefix-list      Build a prefix list
  route            Configure static routes
  router           Enable an IPV6 routing process
  unicast-routing  Enable unicast routing
s2(config)#ipv6

s2#sh version
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(35)SE, RELEASE SOFTWARE (fc2)

r4
---
r4(config)#int s0/1/0
r4(config-if)#ipv6 address 2001:155:0:45::4/64
r4(config-if)#ipv6 rip 1 enable
r4(config-if)#int s0/0/0
r4(config-if)#ipv6 address 2001:155::4/64
r4(config-if)#ipv6 rip 1 enable
r4(config-if)#exit
r4(config)#ipv6 multicast-routing
r4(config)#

r4#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 00:00:52
  FF34::/32 Up: 00:00:52
  FF35::/32 Up: 00:00:51
  FF36::/32 Up: 00:00:51
  FF37::/32 Up: 00:00:51
  FF38::/32 Up: 00:00:51
  FF39::/32 Up: 00:00:51
  FF3A::/32 Up: 00:00:51
  FF3B::/32 Up: 00:00:51
  FF3C::/32 Up: 00:00:51
  FF3D::/32 Up: 00:00:51
  FF3E::/32 Up: 00:00:51
  FF3F::/32 Up: 00:00:51
BSR SM RP: 2001:6:6:6::6 Exp: 00:01:52 Learnt from : 2001:6:6:6::6
  FF00::/8 Up: 00:00:37

r1
---
r1(config)#ipv6 unicast-routing
r1(config)#int s0/0
r1(config-if)#ipv6 address 2001:155::1/64
r1(config-if)#exit
r1(config)#ipv6 multicast-routing
r1(config)#
r1(config)#int s0/0
r1(config-if)#ipv6 rip 1 enable
r1(config-if)#

I am not getting the rip routes so i can not get the rp information
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#

OK i can see the issue r5 does not have the map statements for frame relay

r5
---
r5(config)#int s0/0/0
r5(config-if)#frame-relay map ipv6 FE80::20D:28FF:FE70:2040
% Incomplete command.
r5(config-if)#frame-relay map ipv6 FE80::20D:28FF:FE70:2040 501 broadcast
r5(config-if)#frame-relay map ipv6 2001:155::1 501 broadcast
r5(config-if)#exit
r5(config)#exit
r5#pi
*Feb 14 19:43:01.195: %SYS-5-CONFIG_I: Configured from console by conso
r5#ping 2001:155::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:155::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
r5#

r1
---
r1#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 00:10:30
  FF34::/32 Up: 00:10:30
  FF35::/32 Up: 00:10:30
  FF36::/32 Up: 00:10:30
  FF37::/32 Up: 00:10:30
  FF38::/32 Up: 00:10:30
  FF39::/32 Up: 00:10:30
  FF3A::/32 Up: 00:10:30
  FF3B::/32 Up: 00:10:30
  FF3C::/32 Up: 00:10:30
  FF3D::/32 Up: 00:10:30
  FF3E::/32 Up: 00:10:30
  FF3F::/32 Up: 00:10:30
BSR SM RP: 2001:6:6:6::6 Exp: 00:02:03 Learnt from : 2001:6:6:6::6
  FF00::/8 Up: 00:02:26
r1#

same logic config on r2 and r3


Ok lets generate some traffic on r4 and we will join from r2

r2
---

int s0/0
r2(config-if)#ipv6 mld join-group FF04::40

r4
---
r4#ping ipv6 FF04::40
Output Interface: serial0/1/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FF04::40, timeout is 2 seconds:
Packet sent with a source address of 2001:155:0:45::4
Reply to request 0 received from 2001:155::2, 104 ms
Reply to request 0 received from 2001:155::2, 128 ms
Reply to request 1 received from 2001:155::2, 64 ms
Reply to request 1 received from 2001:155::2, 112 ms
Reply to request 2 received from 2001:155::2, 64 ms
Reply to request 2 received from 2001:155::2, 112 ms
Reply to request 3 received from 2001:155::2, 64 ms
Reply to request 3 received from 2001:155::2, 112 ms
Reply to request 4 received from 2001:155::2, 64 ms
Reply to request 4 received from 2001:155::2, 112 ms
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/93/128 ms
10 multicast replies and 0 errors.
r4#
r4#

r5
---
r5(config)#do sh ipv6 mroute
Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group,
       C - Connected, L - Local, I - Received Source Specific Host Report,
       P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
       J - Join SPT
Timers: Uptime/Expires
Interface state: Interface, State
(*, FF04::40), 00:01:43/00:02:47, RP 2001:6:6:6::6, flags: SC
  Incoming interface: Tunnel2
  RPF nbr: 2001:6:6:6::6
  Immediate Outgoing interface list:
    Serial0/0/0, Forward, 00:01:43/00:02:47
(2001:155:0:45::4, FF04::40), 00:01:11/00:02:18, flags: SFT
  Incoming interface: Serial0/1/0
  RPF nbr: FE80::212:D9FF:FE93:728C
  Immediate Outgoing interface list:
    Serial0/0/0, Forward, 00:01:11/00:03:17
r5(config)#

so essentially it is pretty much the same setup if you get over the small introductions of mld and the addressing it fine

Embedded RP
Embeds the RP IPv6 address as part of the multicast group address. This way, when a multicast router sees the group address, it can extract the RP and begin
to use it for the shared tree immediately.

R5
---
So on r5 we will get rid of the bsr config
r5(config)#no ipv6 pim bsr candidate rp 2001:6:6:6::6
r5(config)#no ipv6 pim bsr candidate bsr 2001:6:6:6::6
r5(config)#
r5#
*Feb 14 20:53:18.967: %SYS-5-CONFIG_I: Configured from console by console
r5#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 01:39:37
  FF34::/32 Up: 01:39:37
  FF35::/32 Up: 01:39:37
  FF36::/32 Up: 01:39:37
  FF37::/32 Up: 01:39:37
  FF38::/32 Up: 01:39:37
  FF39::/32 Up: 01:39:37
  FF3A::/32 Up: 01:39:37
  FF3B::/32 Up: 01:39:37
  FF3C::/32 Up: 01:39:37
  FF3D::/32 Up: 01:39:37
  FF3E::/32 Up: 01:39:37
  FF3F::/32 Up: 01:39:37
r5#

so i have taken of BSR so none of the router know the rp

I will configure r5 statically as the rp as if it does not know it is the rp and starts reciveing multicast join and register it will reject
r5(config)#ipv6 pim rp-address 2001:6:6:6::6
r5(config)#


r5#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 01:42:20
  FF34::/32 Up: 01:42:20
  FF35::/32 Up: 01:42:20
  FF36::/32 Up: 01:42:20
  FF37::/32 Up: 01:42:20
  FF38::/32 Up: 01:42:20
  FF39::/32 Up: 01:42:20
  FF3A::/32 Up: 01:42:20
  FF3B::/32 Up: 01:42:20
  FF3C::/32 Up: 01:42:20
  FF3D::/32 Up: 01:42:20
  FF3E::/32 Up: 01:42:20
  FF3F::/32 Up: 01:42:20
Static SM RP: 2001:6:6:6::6 Exp: never Learnt from : ::
  FF00::/8 Up: 00:00:49

so r5 now knows it is the rendevous point


R4
---
r4#sh ipv6 pim range-list
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 01:21:48
  FF34::/32 Up: 01:21:48
  FF35::/32 Up: 01:21:48
  FF36::/32 Up: 01:21:48
  FF37::/32 Up: 01:21:48
  FF38::/32 Up: 01:21:48
  FF39::/32 Up: 01:21:48
  FF3A::/32 Up: 01:21:48
  FF3B::/32 Up: 01:21:48
  FF3C::/32 Up: 01:21:48
  FF3D::/32 Up: 01:21:48
  FF3E::/32 Up: 01:21:48
  FF3F::/32 Up: 01:21:48
r4#

still does not know the rp

R2
---
r2#sh ipv6 pim range-
Static SSM Exp: never Learnt from : ::
  FF33::/32 Up: 01:15:41
  FF34::/32 Up: 01:15:41
  FF35::/32 Up: 01:15:41
  FF36::/32 Up: 01:15:41
  FF37::/32 Up: 01:15:41
  FF38::/32 Up: 01:15:41
  FF39::/32 Up: 01:15:41
  FF3A::/32 Up: 01:15:41
  FF3B::/32 Up: 01:15:41
  FF3C::/32 Up: 01:15:41
  FF3D::/32 Up: 01:15:41
  FF3E::/32 Up: 01:15:41
  FF3F::/32 Up: 01:15:41
r2#

OK with embedded we will use
ff78:0680:2001:0006:0006:0006::1
this has the rp of 2001:6:6:6::6 embedded

r2(config)#in s0/0
r2(config-if)#ipv6 mld join-group ff78:0680:2001:0006:0006:0006::1
r2(config-if)#

lets check r5 see if we got a join for the group
-------------------------------------------------
r5#sh ipv6 mroute
Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group,
       C - Connected, L - Local, I - Received Source Specific Host Report,
       P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
       J - Join SPT
Timers: Uptime/Expires
Interface state: Interface, State
(*, FF78:680:2001:6:6:6:0:1), 00:00:16/never, RP 2001:6:6:6::6, flags: SPC
  Incoming interface: Tunnel2
  RPF nbr: 2001:6:6:6::6
  Immediate Outgoing interface list:
    Serial0/0/0, Null, 00:00:16/never

r4
---

No comments:

Post a Comment