DHCP IP assignment issue - dhcp failover scenario
Usman Ahmad
usman.hfd at gmail.com
Mon Dec 17 13:19:30 UTC 2018
Dear All,
I have setup two isc-dhcp-server in fail-over mode and these were working
fine since long. Just know i am facing issue that some of my customers CPEs
keep sending the DHCP request and doesn't get the IP however from DHCP
logs, i can see the complete DORA process.
Please note that both DHCP servers are connected to different Gateway
Routers/DHCP relay servers. Since the same DHCP requests are coming from
both relay agent so the both DHCP servers are replying to both relay
agents.
i have isc-dhcp-server v 4.3.1-6 and following is configuration for one
server.
ddns-update-style none;
DHCPDARGS="eth0 eth1";
option domain-name-servers xx.xx.xx.xx, yy.yy.yy.yy;
default-lease-time 86400;
max-lease-time 86400;
authoritative;
log-facility local7;
deny unknown-clients;
one-lease-per-client true;
failover peer "awasr-dhcp-partner" {
primary;
address 192.168.2.4;
port 519;
peer address 192.168.2.5;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 600;
split 128;
load balance max seconds 3;
}
omapi-port 7911;
omapi-key awasr_omapi_key;
key awasr_omapi_key {
algorithm hmac-md5;
secret "0asdASCjaeEasWDSAkasjdo/s890amsdASDASfdjka+1DM50=";
}
include "/etc/dhcp/vlans/customer-vlans.conf";
# Sample configuration for a single subnect
shared-network 1230 {
option dhcp-parameter-request-list 60,43,3,6,15;
option vendor-class-identifier "dslforum.org";
vendor-option-space UMPSYS;
option UMPSYS.acs-url "http://ump.awasr.com:10301/acs";
option domain-name "awasr.com";
subnet 10.32.32.0 netmask 255.255.255.0 {
option routers 10.32.32.1;
pool {
failover peer "awasr-dhcp-partner";
range 10.32.32.25 10.32.32.252;
}
}
# for static hosts
include "/etc/dhcp/vlans/1230-hosts.conf";
}
*--*
*Regards,*
Usman Ahmad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20181217/1de9d4b6/attachment.html>
More information about the dhcp-users
mailing list