Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Only one VLAN Works
« previous
next »
Print
Pages: [
1
]
Author
Topic: Only one VLAN Works (Read 603 times)
TheGon
Newbie
Posts: 5
Karma: 0
Only one VLAN Works
«
on:
July 02, 2024, 06:45:09 pm »
I recently setup a Guest netowork and that went fine and it's working great. I decided to create an IoT network to isolate some smart devices and since it really is the exact same thing as my guest network I just mirrored my setup. However the IoT network cannot get an IP from the DHCP server. If I assign a static IP I don't have internet and I can't ping the interface. I tried creating another VLAN but this time I did the firewall rules from scratch and that also didn't work and ahd the same issue.
I am at a loss since it appears everything is configured correctly.
I attached my settings if someone can take a look and let me know what I could possible be missing.
Port 1 is trunked to my Opnsense Router
Port 2 is trunked to my AP
Port 13 is untagged and PVID set to 40
Port 24 is trunked to another switch
My Guest VLAN setup is exactly the same minus port 13
«
Last Edit: July 02, 2024, 06:46:50 pm by TheGon
»
Logged
jojowegottagogo
Newbie
Posts: 1
Karma: 0
Re: Only one VLAN Works
«
Reply #1 on:
July 10, 2024, 06:15:25 pm »
Having this same issue, however I am able to reach my DHCP servers but unable to access the internet from other VLANs except 1.
Try creating a separate VLAN that allows any IPv4 traffic in and see if that works, from there increase limitations to see where the blockage is.
I can also provide SSs of my set up if you wish.
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: Only one VLAN Works
«
Reply #2 on:
July 11, 2024, 08:59:51 am »
Hi,
there's some information missing:
- What's the VLAN's config in OPNSense (Interfaces -> Other types -> VLAN)?
- What's the DNS setting published by your DHCP server? You allow DNS for IoT address - but I found a lot of installations where the LAN IP is used instead. Hene, I allow "This firewall" instead of "<interface> address"
You could also do some debugging:
Using firewall's live view you could check for DHCP packets going in or out that were blocked and check for firewall misconfiguration
Using packet capturing you could identify if there's even some traffic coming in for DHCP.
That way you could isolate the issue to your switch (no traffic) or OPNsense (traffic blocked)
Logged
TheGon
Newbie
Posts: 5
Karma: 0
Re: Only one VLAN Works
«
Reply #3 on:
July 11, 2024, 04:28:40 pm »
I switched it to allow "This Firewall" and everything is now working.
Thank You!!!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Only one VLAN Works