cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2273
Views
9
Helpful
7
Replies

IP-Helper Address

andrewrocks
Beginner
Beginner

Hello,

According to the documentation the IP Helper Address can either be a single IP address for a server or a network address.

I am a bit unclear which "network address" it's refering to, for example in a 172.20.10.0/24 network would the "network address" in question be "172.20.10.0" or "172.20.10.255".

Thanks

Andrew.

1 Accepted Solution

Accepted Solutions

Jon Marshall
VIP Community Legend VIP Community Legend
VIP Community Legend

Andrew

It would be the subnet broadcast address ie. in your example it would 172.20.10.255.

Jon

View solution in original post

7 Replies 7

Jon Marshall
VIP Community Legend VIP Community Legend
VIP Community Legend

Andrew

It would be the subnet broadcast address ie. in your example it would 172.20.10.255.

Jon

Brilliant, thanks Jon.

I've had success with both so wanted to know which one was correct.

Peter Paluch
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Andrew,

To add to Jon's perfect reply, using the so-called directed broadcast address (i.e. the exact broadcast address of a particular remote network) in the ip helper-address requires also that the final router before the destination network is configured with the command ip directed-broadcast on its interface inside that network. Otherwise, the directed broadcasts would be dropped.

Best regards,

Peter

Hi Peter,

Can I just clarify the setup we have as I'm not sure if this applies to us?

We are using a 3560 with 7 VLANs and a seperate firewall as the default route (none-cisco). The DHCP server is in a VLAN with the other Active Directory servers all conencted to the same 3560.

Do I need the ip directed-broadcast, and if so, which VLAN do I apply it to?

Thanks for your help

Andrew.    

Peter Paluch
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Hi Andrew,

Oh, I probably created more confusion than helped with this... I am sorry.

If you are using the ip helper-address with a particular IP address of your DHCP server and not with the entire broadcast address of the network where the DHCP server resides then you do not need that ip directed-broadcast stuff at all.

You would need to use that command only if you were relaying the DHCP client requests towards the entire broadcast address of the network with the DHCP server. In your case, the ip directed-broadcast command would be applied on the SVI for the VLAN in which the DHCP server and other Active Directory servers are located.

In any case, if it is working for you now, there's no need to change anything.

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

"Do I need the ip directed-broadcast, and if so, which VLAN do I apply it to?"

Normally, if you know the IP of the DHCP server(s), you use that.  (This avoids the need of having directed broadcasts enabled, which can be considered a security issue.)

You would apply helpers on all the VLANs where a DHCP server is not on the same VLAN.

Thanks both, I understand much more clearly now.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers