(Solved) DHCPD issue

Started by rfanch3r, May 11, 2020, 05:01:26 AM

Previous topic - Next topic
May 11, 2020, 05:01:26 AM Last Edit: May 11, 2020, 12:25:48 PM by rfanch3r
I just now noticed this, I am making new VM's and the same exact IP is being offered to different mac addresses, I even turned on the update-conflict-detection true; option. How is this not working? This is a faily new install, few weeks old.

May 10 19:52:11 OPNsense dhcpd: DHCPDISCOVER from [b]00:a0:98:18:b5:f5[/b] (ubuntu) via igb0
May 10 19:52:11 OPNsense dhcpd: DHCPOFFER on 192.168.1.220 to [b]00:a0:98:18:b5:f5[/b] (ubuntu) via igb0
May 10 19:52:11 OPNsense dhcpd: DHCPREQUEST for 192.168.1.220 (192.168.1.1) from 00:a0:98:18:b5:f5 (ubuntu) via igb0
May 10 19:52:11 OPNsense dhcpd: DHCPACK on 192.168.1.220 to [b]00:a0:98:18:b5:f5[/b] (ubuntu) via igb0
May 10 19:54:51 OPNsense dhcpd: DHCPDISCOVER from 00:a0:98:5d:f8:39 (ubuntu) via igb0
May 10 19:54:51 OPNsense dhcpd: DHCPOFFER on 192.168.1.220 to [b]00:a0:98:5d:f8:39[/b] (ubuntu) via igb0
May 10 19:54:51 OPNsense dhcpd: DHCPREQUEST for 192.168.1.220 (192.168.1.1) from [b]00:a0:98:5d:f8:39[/b] (ubuntu) via igb0
May 10 19:54:51 OPNsense dhcpd: DHCPACK on 192.168.1.220 to [b]00:a0:98:5d:f8:39[/b] (ubuntu) via igb0


Here is my conf file:
option domain-name "localdomain";
option ldap-server code 95 = text;
option arch code 93 = unsigned integer 16; # RFC4578
option pac-webui code 252 = text;

default-lease-time 7200;
max-lease-time 86400;
log-facility local7;
one-lease-per-client true;
deny duplicates;
ping-check true;
update-conflict-detection false;
authoritative;

subnet 192.168.1.0 netmask 255.255.255.0 {
  pool {
    option domain-name-servers 192.168.1.252;
    range 192.168.1.70 192.168.1.245;
  }

  option routers 192.168.1.1;
  option domain-name-servers 192.168.1.252;
  default-lease-time 7200;

}


Thought it was a router issue, after some lengthy troubleshooting turns out its not the router.

How I found it was not the router - Moved the DHCP server to something else and it did the exact same thing.