DHCP from wrong subnet

Started by dcol, April 02, 2018, 04:59:14 PM

Previous topic - Next topic
April 02, 2018, 04:59:14 PM Last Edit: April 02, 2018, 07:12:20 PM by dcol
Ok here's a weird one.
I have 2 local subnets 192.168.1.1/24 on LAN(igb1) and 192.168.2.1/24 WLAN (igb3)
I use 192.168.1.1/24 for my local workstations and they are all on a switch.
I use 192.168.2.1/24 for Wifi and igb3 is connected directly to a Wifi AP.
I have DHCP turned on for LAN and WLAN range 100 to 200
The device in question is a tablet with WiFi disabled using a USB Ethernet adapter.

Issue, any workstation on the LAN (igb1) that requests DHCP, gets an address from the WLAN subnet.
Wifi DHCP requests are correct.

The only way I can issue the correct DHCP address to a LAN workstation is if I disable the WLAN DHCP.

Here is the log entry
Apr 2 07:40:52    dhcpd: DHCPREQUEST for 192.168.2.100 from 00:24:9b:29:04:f4 (TABLET) via igb1: wrong network.

Is this a bug, or is there a setting I missed somewhere? What could cause this to happen?

April 03, 2018, 07:05:27 AM #1 Last Edit: April 03, 2018, 07:08:04 AM by elektroinside
Do you have a static ip set on the tablet or any other lan client?
Does an arp scan show a matching ip setup (according to dhcp range)?
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

April 03, 2018, 06:01:20 PM #2 Last Edit: April 03, 2018, 06:40:31 PM by dcol
I reset the WiFi AP and the problem disappeared. Wow that was strange.