El rango de direcciones soportadas es FF70::/12;
Pongamos un ejemplo:
El formato del grupo al que nos tenemos que unirnos es el siguiente
FF7S:0YMM:(64BITRPADDRESS):(32BITGROUP)
Si queremos que el RP sea 2013:1:2:3::4/64 (no funciona con /128)
Y el grupo sera FF7S::125:125 el que queremos anunciar, la dirección la construimos así
FF7 inamovible por ser un /12
S | Site Scope | 1 es interface local, 2 es Link local, 4 admin local, 5 site local, 8 organization local, E global |
Y |
Interface Id | en este caso ::4 seria 4 |
MM | Longitud mascara en hex | 64 dec seria 40 en hex |
64BITRPADDRESS | 64 primeros bits | 2013:1:2:3 |
32BITGROUP | 32 ultimos Bits del grupo | 125:125 |
Resultado:
FF7E:0440:2013:1:2:3:125:125
Vamos a configurarlo en nuestros routers
R1(config-if)#ipv6 mld join-group FF7E:0440:2013:1:2:3:125:125
En R3 configuramos estáticamente el RP
R3(config)#ipv6 pim rp-address 2013:1:2:3::4
R1 ya sabe cual es el RP solo con unirse a ese grupo
R1#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 (*, FF7E:440:2013:1:2:3:125:125), 00:04:40/never, ,RP 2013:1:2:3::4, flags: SCLJ Incoming interface: FastEthernet0/0 RPF nbr: FE80::C002:16FF:FE60:1 Immediate Outgoing interface list: Loopback0, Forward, 00:04:40/never
Le enviamos tráfico desde R5
R5#ping FF7E:440:2013:1:2:3:125:125 Output Interface: loopback0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FF7E:440:2013:1:2:3:125:125, timeout is 2 seconds: Packet sent with a source address of 2013::5 Reply to request 0 received from 2013::1, 160 ms Reply to request 1 received from 2013::1, 96 ms Reply to request 2 received from 2013::1, 88 ms Reply to request 3 received from 2013::1, 76 ms Reply to request 4 received from 2013::1, 72 ms Success rate is 100 percent (5/5), round-trip min/avg/max = 72/98/160 ms 5 multicast replies and 0 errors.
Cuando R5 le envia tráfico vemos el la entrada nueva
(2013::5, FF7E:440:2013:1:2:3:125:125), 00:02:28/00:01:01, flags: SJT Incoming interface: FastEthernet0/0 RPF nbr: FE80::C002:16FF:FE60:1 Inherited Outgoing interface list: Loopback0, Forward, 00:04:40/never
Vemos el RP autoasignado desde varios routers
R3#sh ipv6 pim group-map FF7E:440:2013:1:2:3:125:125 IP PIM Group Mapping Table (* indicates group mappings being used) FF00::/8* SM, RP: 2013:1:2:3::4 RPF: Tu1,2013:1:2:3::4 (us) Info source: Static Uptime: 00:38:11, Groups: 1 R2#sh ipv6 pim group-map FF7E:440:2013:1:2:3:125:125 IP PIM Group Mapping Table (* indicates group mappings being used) FF7E:440:2013:1:2:3::/96* SM, RP: 2013:1:2:3::4 RPF: Fa0/0,FE80::C003:16FF:FE60:1 Info source: Embedded Uptime: 00:07:39, Groups: 1