R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Configuration Guide

Table Of Contents
61
Multicast forwarding over GRE tunnels
Network requirements
Multicast routing and PIM-DM are enabled on Router A and Router C. Router B does not support multicast.
OSPF is running on Router A, Router B, and Router C. Configure a GRE tunnel so that Receiver can
receive the multicast data from Source.
Figure 24 Network diagram
Configuration procedure
1. Assign an IP address and mask to each interface according to Figure 24. (Details not shown.)
2. Configure a GRE tunnel:
# Create Tunnel 0 on Router A and configure the IP address and mask for the interface.
<RouterA> system-view
[RouterA] interface tunnel 0
[RouterA-Tunnel0] ip address 50.1.1.1 24
# On Router A, specify the tunnel encapsulation mode as GRE over IPv4 and specify the source
and destination addresses of the interface.
[RouterA-Tunnel0] tunnel-protocol gre
[RouterA-Tunnel0] source 20.1.1.1
[RouterA-Tunnel0] destination 30.1.1.2
[RouterA-Tunnel0] quit
# Create Tunnel 0 on Router C and configure the IP address and mask for the interface.
<RouterC> system-view
[RouterC] interface tunnel 0
[RouterC-Tunnel0] ip address 50.1.1.2 24
# On Router C, specify the tunnel encapsulation mode as GRE over IPv4 and configure the source
and destination addresses of the interface.
[RouterC-Tunnel0] tunnel-protocol gre
[RouterC-Tunnel0] source 30.1.1.2
[RouterC-Tunnel0] destination 20.1.1.1
[RouterC-Tunnel0] quit
3. Configure OSPF:
# Configure OSPF on Router A.
[RouterA] ospf 1