two DHCP per Vlan issue

Post Reply
eaglecreek
Member
Posts: 6
Joined: 24 Sep 2012 22:32

two DHCP per Vlan issue

Post by eaglecreek »

HI,

We have 2 DHCP servers currrently serving per vlan basis - they are microsoft DHCP servers having scope of 80 20 %
Understand that the switch will redirect to either 2 dhcp server randomly for the client Ips. Issue crops up when one of the DHCP server scope is full. The client will not be redirected to the other DHCP server. As a result client will get a 169.x.x.x ips. Can the switch redirect the clients to the DHCP servers based on priority ?
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7014
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: two DHCP per Vlan issue

Post by cavagnaro »

Why on earth you have 2 DHCP servers on same network segment?


Sent from my XPeria Z
Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
eaglecreek
Member
Posts: 6
Joined: 24 Sep 2012 22:32

Re: two DHCP per Vlan issue

Post by eaglecreek »

the 2 dhcp servers are used as redundancy. for instance IP address scope 10.37.18.0/24 If the the first one goes down, it should go to the next server. However in this scenerio, DHCP server1 does not go down - it merely has IP pool exhaustion. By right DHCP server 1 should redirect the request to DHCP server 2 but in this case it fails.

DHCP server 1 scope would be
10.37.18.5 -10.37.18.200 (80%)

DHCP server 2 scope would be
10.37.18.201 - 10.37.18.250 (20%)
duBeN
Member
Posts: 32
Joined: 31 Mar 2011 04:59

Re: two DHCP per Vlan issue

Post by duBeN »

hi,

I'm not sure if you are using ip helper or not but it's not important anyway. If you don't have a ip helper then when client sends a dhcp request it will come as broadcast to both dhcp servers and both of them will reply. Client will choose the first response. If one DHCP server will exhaust its scope it won't simply send any offer and only second dhcp server will send offer. So in normal operation you will use both scopes and no problem. Same scenario will be with ip helper but of course you have to configure 2 ip helpers for each subnet.

Only problem is in case that one server is down - then you have only one scope available. For this case I recommend you to check for DHCP servers which can do load balancing of requests without need of splitting the scope (for example http://dhcpserver.sourceforge.net/)
Post Reply

Return to “OmniSwitch 6900”