Solved

DHCP Relay - ip helper-address

Posted on 2008-10-28
5
1,665 Views
Last Modified: 2012-05-05
Hello,

If your Router is working as a DHCP Relay and you have more than one ip helper-address command what actually happens:

1. The Router forwards the DHCP Discover to the first DHCP Server and if this one does not respond then the Router works sequentially down the list until a Server makes a DHCP Offer to the Client?

2. The Router forwards the DHCP Discover to all DHCP Servers defined by the multiple ip helper-address commands and the first Server to respond with a DHCP Offer Message?

Thanks in advance :)
0
Comment
Question by:MarcBorst
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Darksied9
ID: 22821544

1. The Router forwards the DHCP Discover to the first DHCP Server and if this one does not respond then the Router works sequentially down the list until a Server makes a DHCP Offer to the Client?

This is accurate, I would suggest configuring the DHCP servers with the 80/20 Rule.  Put 80% of each subnets available addresses on the primary with 20% on the backup.
0
 
LVL 16

Accepted Solution

by:
btassure earned 50 total points
ID: 22821553
It passes the broadcast to all the listed ip-helpers. After that the router doesn't care about the traffic other than passing it back and forth. So 2) is the way it works.

0
 
LVL 16

Expert Comment

by:btassure
ID: 22821567
Are you sure Darksled? Our implementation works the same as point 2...
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 22821838
The router handles it via option 2:

2. The Router forwards the DHCP Discover to all DHCP Servers defined by the multiple ip helper-address commands and the first Server to respond with a DHCP Offer Message?
0
 
LVL 3

Expert Comment

by:Darksied9
ID: 22821893
Ha!  Sorry, I miss-read that.  Basically you are right option 2 is the way it works, however...  When you deploy a DHCP service scenario you should remember that the client will accept the DHCPOffer from the first server that responds to the DHCP request.  Keeping this in mind, the 80/20 rule is good for redundancy especially if you have more than 1 subnet (which you do if you are talking about helper addresses).

So, place your two DHCP servers in two different subnets (site differentiated if you can) and Set one to server 80% of the leases for the subnets nearest it (in terms of latency) and the other for 20%.  Do the same with the other.  Be sure not to overlap the address spaces at all.

Sorry for the error, I will be sure to double check the questions next time.  :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now