cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1550
Views
0
Helpful
4
Replies

ip-helper set to network address - what happens?

dinfantino
Level 1
Level 1

Does anyone know the behavior of an ip helper address configured as the network address?  For example 192.168.1.0 ??  Does this behave in the same fashion as the broadcast address??  I cannot setup a sniffer or configure a lab currently to test.

4 Replies 4

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

Interesting question To my best knowledge, it should behave in the same manner as specifying the network's broadcast address, i.e. using a directed broadcast. Such a packet will be routed towards the destination network. On the router that is physically connected to this network, this directed broadcast will either be forwarded to the network - if the interface is configured with the ip directed-broadcast command - or it will be dropped.

Best regards,

Peter

Hi Peter,

That's very interesting... I thought the Ip-helper would convert the broadcast message into a unicast message and send it to the specified ip address.

Fabio,

The ip helper-address command merely repackages selected UDP broadcasts to the IP address you have provided in the command, but if you provided a network or broadcast address, the UDP helper is not going to argue with you, and instead, do just what you ask it to do. If you use the address of the entire network in this command, the router is not going to speculate whether the address you specified is a network address. It simply takes the UDP broadcasts, replaces their destination IP address with the address you have specified, and sends the packet along its route. So at this point, there is no determination what the destination is - whether it can be considered a unicast or broadcast.

It is simply a convention that sending packets to the IP address of the entire network will result in packaging this packet into a broadcast frame in this network, i.e. the same treatment as with broadcast IP addresses.

In most cases, using the ip helper-address this way is not necessary nor common, but some deployments may benefit from that.

Best regards,

Peter

Disclaimer

The   Author of this posting offers the information contained within this   posting without consideration and with the reader's understanding that   there's no implied or expressed suitability or fitness for any purpose.   Information provided is for informational purposes only and should not   be construed as rendering professional advice of any kind. Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In   no event shall Author be liable for any damages whatsoever (including,   without limitation, damages for loss of use, data or profit) arising  out  of the use or inability to use the posting's information even if  Author  has been advised of the possibility of such damage.

Posting

What Peter has described, I believe is what's supposed to happen.  This would somewhat mimic having DHCP server(s) on the same subnet, i.e. you're not tied to specific IPs.

Review Cisco Networking for a $25 gift card