No DHCP on VLAN interface?

Started by deanfourie, October 13, 2024, 08:19:53 AM

Previous topic - Next topic
October 13, 2024, 08:19:53 AM Last Edit: October 13, 2024, 08:37:17 AM by deanfourie
So a weird problem I cannot figure out.

I have an interface, on a VLAN, with an assigned IP address. I have setup ISC DHCP for this interface with a pool.

On a client on the same VLAN, it does not get a lease from OPNsense, however, if I go static on the same subnet I can reach OPNSense via the static gateway (OPNsense IP) for the VLAN subnet.

Any ideas on this one?

Thanks

Check Services -> ISC DHCPv4 -> Log File for clues?

Thanks, nothing in the logs.

I have run a packet capture on the VLAN interface and cannot capture ANY packets unless I ping via static IP

Also just to add,

This is a trunk, there is more then one VLAN trunked to OPN.

I just did a packet capture on my main LAN interface, and I can see traffic fine via the capture,

However still on the other VLAN, I see absolutely no packets.

October 13, 2024, 10:12:46 AM #4 Last Edit: October 13, 2024, 10:18:46 AM by deanfourie
Also, I'm curious as i've never had ths problem, but the VLAN in question is not listed in "Vlans allowed and active in management domain" and "vlans in spanning tree forwarding state and not pruned"

Not sure if this is related.

The vlan in question here is 10.


Bugger, sorted.

I hadn't created the vlan on the switch.