200
Interface Server VPN instance Server address Packets sent
GigabitEthernet2/0/1 N/A 10.2.1.1 5
Configuring UDP helper to convert broadcast to multicast
Network requirements
As shown in Figure 78, Router B can receive multicast packets destined for 225.1.1.1.
Configure UDP helper to convert broadcast to multicast on GigabitEthernet 2/0/1 of Router A. This
feature enables Router A to forward broadcast packets with UDP destination port number 55 to the
multicast group 225.1.1.1.
Figure 78 Network diagram
Configuration procedure
Make sure Router A can reach the subnet 10.2.0.0/16.
# Enable UDP Helper.
<RouterA> system-view
[RouterA] udp-helper enable
# Enable UDP helper to forward broadcast packets with the UDP destination port 55.
[RouterA] udp-helper port 55
# Configure UDP helper to convert broadcast packets to multicast packets destined for 225.1.1.1 on
GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 10.110.1.1 16
[RouterA-GigabitEthernet2/0/1] udp-helper broadcast-map 225.1.1.1
[RouterA-GigabitEthernet2/0/1] quit
# Enable IP multicast routing globally.
[RouterA] multicast routing
[RouterA-mrib] quit
# Enable PIM-DIM and IGMP on GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] pim dm
[RouterA-GigabitEthernet2/0/1] igmp enable
# Configure GigabitEthernet 2/0/1 as a static member of the multicast group 225.1.1.1.
[RouterA-GigabitEthernet2/0/1] igmp static-group 225.1.1.1
# Enable PIM-DIM and IGMP on GigabitEthernet 2/0/2.
[RouterA-GigabitEthernet2/0/2] pim dm
[RouterA-GigabitEthernet2/0/2] igmp enable