Configuring UDP helper to convert broadcast to unicast
About broadcast to unicast conversion
You can configure UDP helper to convert broadcast packets with specific UDP port numbers to unicast packets.
Upon receiving a UDP broadcast packet, UDP helper uses the configured UDP ports to match the UDP destination port number of the packet.
If a match is found, UDP helper duplicates the packet and modifies the destination IP address of the copy to the configured unicast address. Then UDP helper forwards the unicast packet to the unicast address.
If no match is found, UDP helper does not process the packet.
Procedure
Enter system view.
system-view
Enable UDP helper.
udp-helper enable
By default, UDP helper is disabled.
Specify a UDP port number for UDP helper.
udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }
By default, no UDP port numbers are specified for UDP helper.
Do not set UDP ports 67 and 68 for UDP helper, because UDP helper cannot forward DHCP broadcast packets.
You can specify a maximum of 256 UDP ports for UDP helper.
Enter interface view.
interface interface-type interface-number
Specify a destination server for UDP helper to convert broadcast to unicast.
udp-helper server ip-address [ global | vpn-instance vpn-instance-name ]
By default, no destination servers are specified.
Use this command on the interface that receives broadcast packets.
You can specify a maximum of 20 unicast and multicast addresses for UDP helper to convert broadcast packets on an interface.