R3303-HP HSR6800 Routers IP Multicast Configuration Guide
88
IGMP configuration examples
This section provides examples of configuring IGMP.
Basic IGMP functions configuration example
Network requirements
The receivers receive VOD information through multicast. The receivers of different organizations form
stub networks N1 and N2. Host A and Host C are receivers in N1 and N2, respectively.
Router A in the PIM network connects to N1, and both Router B and Router C connect to another stub
network, N2.
IGMPv2 runs between Router A and N1, and between the other two routers and N2. Router B acts as the
IGMP querier in N2 because it has a lower IP address.
The hosts in N1 can join only multicast group 224.1.1.1, and the hosts in N2 can join any multicast
groups.
Figure 29 Network diagram
Configuration procedure
1. Assign an IP address and subnet mask to each interface according to Figure 29. (Details not
shown.)
2. Configure OSPF on the routers on the PIM network to make sure they are interoperable at the
network layer and they can dynamically update their routing information. (Details not shown.)
3. Enable IP multicast routing, and enable PIM-DM and IGMP:
# Enable IP multicast routing on Router A, enable PIM-DM on each interface, and enable IGMP on
GigabitEthernet 2/0/1.
<RouterA> system-view
Router A
Router B
Router C
Querier
PIM network
N1
N2
Receiver
Receiver
Host A
Host B
Host C
Host D
GE2/0/1
10.110.1.1/24
GE2/0/1
10.110.2.1/24
GE2/0/1
10.110.2.2/24
GE2/0/0
GE2/0/0
GE2/0/0