UDP BROADCAST FORWARDING
The UDP Broadcast Forwarding functionality is useful to allow local clients that are using broadcast
messages to access to services located on a different network.
For example the command:
set udp-forwarding-protocol port 4950 interface eth1.10 helper 88.1.1.2
receives the packets sent to the eth1.0 interface, to the broadcast address 255.255.255.255,
toward the 4950 port and then sends them as a unicast message to the 88.1.1.2 address.
It is possible to specify more instances for the command, as to manage different protocols:
set udp-forwarding-protocol port 4950 interface eth1.10 helper 88.1.1.2
set udp-forwarding-protocol port 4950 interface eth1.20 helper 88.1.1.2
set udp-forwarding-protocol port 4951 interface eth1.10 helper 88.1.1.3
The command:
set no-udp-forwarding-protocol port 4950 interface eth1.20
stops the service.
You can use the command specifying the keyword direct-broadcast instead of the helper
address:
set udp-forwarding-protocol port 4950 interface eth1.10 direct-broadcast
In this way a packet that is received and directed to the direct-broadcast address, ex
192.168.1.255, it is forwarded to the router on the network interface to which the destination
address is associated. For example, if we have the interface eth1.50 with a 10.50.1.1/24
address, a packet received by the router on the interface and directed to 10.50.1.255, is
forwarded on the eth1.50 interface.
The debug is activated by
set udp-forwarding-protocol debug
The command
show udp-forwarding-protocol
shows the status service.