OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: dcol on April 02, 2018, 04:59:14 pm

Title: DHCP from wrong subnet
Post by: dcol on April 02, 2018, 04:59:14 pm
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?
Title: Re: DHCP from wrong subnet
Post by: elektroinside on April 03, 2018, 07:05:27 am
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)?
Title: Re: DHCP from wrong subnet
Post by: dcol on April 03, 2018, 06:01:20 pm
I reset the WiFi AP and the problem disappeared. Wow that was strange.