OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: franzli72 on February 04, 2023, 07:22:07 PM

Title: DHCP on VLAN used by WiFi AP (Not working)
Post by: franzli72 on February 04, 2023, 07:22:07 PM
Hi all,
I have just move from pfSense to opnSense.
My configuration is quite basic:
1. 2 WANs
2. 1 LAN with several VLANs
3. AP is a Netgear WAX630 connected to the LAN with configured several SSIDs connecting to specific VLANs

Everything works fine with the cable connected devices, DHCP is doing its job.

But when I connect from WiFi, what happens is that I can see the DHCP request on the VLAN interface of opnSense, I can see the answer providing the correct IP address, but this answer is never reaching the device. And I haven't changed anything on the AP, it is configured as it was working on pfSense.

HW offload options (CRC, TSO, LRO) are all disabled
HW VLAN Filtering is disabled

I really don't know what to do more than what I have already done.

Anybody willing to help?
Thanks a lot,
     Franc
Title: Re: DHCP on VLAN used by WiFi AP (Not working)
Post by: franzli72 on February 04, 2023, 07:28:39 PM
Here you can see the request and answer from the VLAN interface on opnSense. The answer is never reaching the device.

19:23:51.302796 IP (tos 0x0, ttl 255, id 61732, offset 0, flags [none], proto UDP (17), length 328)
    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 3c:22:fb:a8:7b:6e (oui Unknown), length 300, xid 0xe2b6629f, secs 42, Flags [none] (0x0000)
     Client-Ethernet-Address 3c:22:fb:a8:7b:6e (oui Unknown)
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Discover
       Parameter-Request Option 55, length 12:
         Subnet-Mask, Classless-Static-Route, Default-Gateway, Domain-Name-Server
         Domain-Name, Option 108, URL, Option 119
         Option 252, LDAP, Netbios-Name-Server, Netbios-Node
       MSZ Option 57, length 2: 1500
       Client-ID Option 61, length 7: ether 3c:22:fb:a8:7b:6e
       Lease-Time Option 51, length 4: 7776000
       Hostname Option 12, length 7: "MacMini"
19:23:51.302913 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
    172.16.200.1.bootps > 172.16.200.151.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0xe2b6629f, secs 42, Flags [none] (0x0000)
     Your-IP 172.16.200.151
     Client-Ethernet-Address 3c:22:fb:a8:7b:6e (oui Unknown)
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Offer
       Server-ID Option 54, length 4: 172.16.200.1
       Lease-Time Option 51, length 4: 86400
       Subnet-Mask Option 1, length 4: 255.255.255.0
       Default-Gateway Option 3, length 4: 172.16.200.1
       Domain-Name-Server Option 6, length 4: 172.16.200.1
       Domain-Name Option 15, length 5: "local"