06-01-2015 08:42 PM - edited 03-05-2019 01:35 AM
I have two Layer3 switch, and configure as HSRP. I configure DHCP server on this two switches to provide IP for the same LAN. These two DHCP servers have conflict MAC address. How can i get rid of this problem? Can i configure DHCP server with priority?
06-02-2015 05:01 AM
Hi
could you share the DHCP configuration?
Regards,
Markus
06-02-2015 07:20 AM
Hello hseakleang1,
You can try sharing the DHCP pool between the two L3 switches.
For example if your subnet is 192.168.1.0/24, configure the DHCP pool 192.168.1.1 to 192.168.1.127 in one switch and configure the remaining IP as a DHCP scope in the second switch.
Krishna
12-12-2017 12:47 AM
Hello Krishnendu AR
since days I search this question, since I use the same DHCP principle!
Same networks on both switches!
However, the question remains open what happens when L3 Switch1 breaks away?
In this case, get the calculator in the first segment no IP or?
But there is no real redundancy?
12-12-2017 01:41 AM - edited 12-12-2017 01:45 AM
Hello
The problem i guess is you both dhcp server active and they are also active for the same scopes- you shouldn't do that
What you should do the split the dhcp between the two server so that one is providing half of the scope and the other is providing the other half.
R1
ip dhcp excluded-address 192.168.1.126 -192.168.1.254
R2
ip dhcp excluded-address 192.168.1.1 -192.168.1.125
Lastly for servers, they should have their ip address reserved anyway ( if to be supplied by dhcp) they should be negated from having their ip address changing.
res
Paul
12-12-2017 02:11 AM
12-12-2017 03:21 AM
Hello
The dhcp scopes are on the L3 switches correct?
So you need to reserve the ip address for any servers you wish to obtain dhcp allocation or exclude the server ip address from the dhcp scope so nothing else receives the same ip address.
You reserve them via the server mac- address:
example:
Server mac- address =3333.2222.1111
ip dhcp pool Server1
host 192.168.1.1 /24
client-identifier 0133.3322.2211.11
default-router 192.168.1.254
dns-server x.x.x.x
lease x x
res
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide