dhcpd doesn't acknowledge dhcp requests

Sean McMurray sean at mvtel.com
Tue Jun 2 20:06:04 UTC 2015


I have a dhcp server that won't give out leases and doesn't acknowledge 
DHCPDISCOVERs.

I see the requests come in with tcpdump, but the daemon doesn't log them 
and doesn't respond.


failover peer "partner" {
   primary;
   address 10.64.0.104;
   port 647;
   peer address 10.64.0.112;
   peer port 647;
   max-response-delay 60;
   max-unacked-updates 10;
   mclt 3600;
   split 255;
   load balance max seconds 3;
}

subnet 10.112.0.0 netmask 255.248.0.0 {
   log(info, concat(
     "Lease: ",binary-to-ascii (10, 8, ".", leased-address)
     ," Mac: ",binary-to-ascii(16, 8, ":", substring(hardware,1, 6))
     ," Relay: ",option agent.remote-id
   ));
   option routers 10.112.0.1;
   pool {
     range 10.112.1.0 10.112.255.255;
     failover peer "partner";
   }
}



 > ip -4 a sh em2
45: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
     inet 10.112.0.104/13 brd 10.119.255.255 scope global em2
        valid_lft forever preferred_lft forever

 > tcpdump -vv -i em2

IP (tos 0x0, ttl 255, id 48977, offset 0, flags [none], proto UDP (17), 
length 339)
     0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, 
Request from xx:xx:xx:xx:xx:xx (oui Unknown), length 311, xid 
0x7f73db12, secs 53, Flags [none] (0x0000)
       Client-Ethernet-Address xx:xx:xx:xx:xx:xx (oui Unknown)
       Vendor-rfc1048 Extensions
         Magic Cookie 0x63825363
         DHCP-Message Option 53, length 1: Discover
         Parameter-Request Option 55, length 9:
           Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
           Option 119, LDAP, Option 252, Netbios-Name-Server
           Netbios-Node
         MSZ Option 57, length 2: 1500
         Client-ID Option 61, length 7: ether xx:xx:xx:xx:xx:xx
         Lease-Time Option 51, length 4: 7776000
         Hostname Option 12, length 8: "Private_"
         Agent-Information Option 82, length 25:
           Circuit-ID SubOption 1, length 7: Anonymo
           Remote-ID SubOption 2, length 14: 172.20.100.101

 > tail /var/log/dhcpd
dhcpd: Sent update done message to partner
dhcpd: Update request from partner: nothing pending
failover peer partner: peer moves from potential-conflict to normal
dhcpd: failover peer partner: I move from conflict-done to normal
dhcpd: balancing pool 7fdb1b28a920 10.112.0.0/13  total 65280  free 
32640  backup 32640  lts 0  max-own (+/-)6528
dhcpd: balanced pool 7fdb1b28a920 10.112.0.0/13  total 65280  free 
32640  backup 32640  lts 0  max-misbal 9792

 >ss -anlp | grep ':67'
tcp    UNCONN     0      0 *:67                    *:*      
users:(("dhcpd",21614,9))



More information about the dhcp-users mailing list