cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
0
Helpful
2
Replies

directed-broadcast

russell-r
Level 1
Level 1

what is the purpose of the command "no ip directed-broadcast"? Would this command prevent the router from passing udp packets?

2 Replies 2

svermill
Level 4
Level 4

This is related to helper addresses. With those, you can specify a particular host or an entire subnet as a target. If you elect to forward to the entire subnet, you need to enable 'ip directed-broadcast' on the target subnet ethernet interface. They are by default not allowed because of DoS concerns.

To answer a little more directly, this has no impact on the *routing* of udp packets. Just affects what happens when certain types of relayed broacasts are received on an interface.

To elaborate on the possibilities, there are cases where no ip directed broadcast on a LAN can impact the receipt of an UDP-based application. I have seen some legacy "ticker-type" applications (UDP-based) that rely on the IP directed broadcast feature to broadcast UDP packets to clients on selected subnets.

For example, a "ticker-type" application server may have a list of subnets such as 10.1.1.0/24 and 10.1.2.0/24 where the clients of the application reside. It sends ticker updates to 10.1.1.255 and 10.1.2.255. If IP directed broadcast is not enabled on the interfaces hosting these subnets, the ticker clients will not receive the traffic from the application.