Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
No DHCP on VLAN interface?
« previous
next »
Print
Pages: [
1
]
Author
Topic: No DHCP on VLAN interface? (Read 254 times)
deanfourie
Newbie
Posts: 23
Karma: 0
No DHCP on VLAN interface?
«
on:
October 13, 2024, 08:19:53 am »
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
«
Last Edit: October 13, 2024, 08:37:17 am by deanfourie
»
Logged
dseven
Sr. Member
Posts: 303
Karma: 33
Re: No DHCP on VLAN interface?
«
Reply #1 on:
October 13, 2024, 09:27:16 am »
Check Services -> ISC DHCPv4 -> Log File for clues?
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: No DHCP on VLAN interface?
«
Reply #2 on:
October 13, 2024, 09:58:49 am »
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
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: No DHCP on VLAN interface?
«
Reply #3 on:
October 13, 2024, 10:03:16 am »
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.
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: No DHCP on VLAN interface?
«
Reply #4 on:
October 13, 2024, 10:12:46 am »
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.
«
Last Edit: October 13, 2024, 10:18:46 am by deanfourie
»
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: No DHCP on VLAN interface?
«
Reply #5 on:
October 13, 2024, 10:50:29 am »
Bugger, sorted.
I hadn't created the vlan on the switch.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
No DHCP on VLAN interface?