06-28-2004 04:00 AM - edited 03-02-2019 04:40 PM
If I have VLAN1 which has a device that is ip broadcasting on a specific UDP port and I want this broadcast to reach VLAN2 in a layer 3 switch, aside from coding a helper address of every possible destination on VLAN2, will a helper address of the network broadcast work???
06-28-2004 04:14 AM
Hello,
you also need to configure the global command:
ip forward-protocol udp
in order to specify which protocols and ports the router forwards when forwarding broadcast packets.
Regards,
GP
06-28-2004 04:57 AM
While ip forward-protocol is an essential part of getting the router to forward an port that is not one that is forwarded by default, I read the original question slightly differently. I believe he was asking if the packet can be forwarded to multiple addresses in the destination subnet without configuring a specific helper-address for each destination. The answer to that question is "it depends". There is a function called directed broadcast which does exactly what the question wants, it forwards through the network and at the destination subnet it becomes a local broadcast. In old versions of IOS it was enabled by default. In current versions of IOS it is disabled by default (because of the potential of misuse in DOS attacks). If directed broadcast is enabled on the interface at the destination subnet then a configuration such as ip helper address 172.16.1.255 would send a broadcast to every station in the 172.16.1 subnet. If directed broadcast is not enabled at the destination interface then it will not work. (If helper address were configured for a directed broadcast and it is not enabled at the destination interface, then helper address would generate the packet, the packet would be forwarded to the destination, and the destination interface would discard the packet)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide