- Sep 1, 2010
- 3,991
- 842
- 136
Ughghghhghhhh, networking. I'll admit it's not my strongest suit, but I've been wrestling with this on and off for about a year now. I moved back in July of '23 and set up a new network from scratch. I've a LOT of devices but they're all on the same LAN, and I'm wanting to segment and organize everything a little better--as well as secure it using VLANs. Nothing too crazy, and I understand the limitations, but the problem is I've never gotten it to work.
Here's what I'm working with:
I'll focus on the non-wireless connections to the switch for simplicity's sake, but I've got the following VLANs ID's configured on both the firewall and switch:
*All of these interfaces have DHCP enabled
All pretty basic, yet I am struggling to understand why it's failing. So here's a scenario I had been testing:
Logging into the switch, I configured port #2 as my General port which is tagging traffic for all VLANs. Great, and for some reason setting this port to Trunk mode only allows for untagged traffic--which I figure must be a Dell thing idk. I assign port #11 on the switch as an access port for use with VLAN 10, and then connect a PC to port #11. Now, I feel like that PC should start grabbing a DHCP IP from the 192.168.10.1 address pool but it never does. And that's where I'm at, trying to figure out why.
I've created rules on pfSense to allow traffic to flow from VLAN 10 to the WAN, and vice versa, but that doesn't seem to do much. At this point I'm going to either flash the switch firmware, or try another switch, because I feel like this should be working?
I will also add that if I clear the VLAN association from port #11 on the switch, then the attached PC will grab a DHCP address from the native LAN basically right away...
Thanks in advance for any assistance, I know it's an obnoxious amount of info
Here's what I'm working with:
- pfSense firewall/router (single WAN, single LAN)
- Dell X1052 switch
- Unifi controller + 3x wireless AP's
I'll focus on the non-wireless connections to the switch for simplicity's sake, but I've got the following VLANs ID's configured on both the firewall and switch:
VLAN 1 (native LAN) | 192.168.1.1/24 | firewall and switch |
VLAN 10 | 192.168.10.1/24 | for LAN devices |
VLAN 20 | 192.168.20.1/24 | for IP cameras |
VLAN 30 | 192.168.30.1/24 | for wireless clients |
VLAN 40 | 192.168.40.1/24 | for IoT |
*All of these interfaces have DHCP enabled
All pretty basic, yet I am struggling to understand why it's failing. So here's a scenario I had been testing:
Logging into the switch, I configured port #2 as my General port which is tagging traffic for all VLANs. Great, and for some reason setting this port to Trunk mode only allows for untagged traffic--which I figure must be a Dell thing idk. I assign port #11 on the switch as an access port for use with VLAN 10, and then connect a PC to port #11. Now, I feel like that PC should start grabbing a DHCP IP from the 192.168.10.1 address pool but it never does. And that's where I'm at, trying to figure out why.
I've created rules on pfSense to allow traffic to flow from VLAN 10 to the WAN, and vice versa, but that doesn't seem to do much. At this point I'm going to either flash the switch firmware, or try another switch, because I feel like this should be working?
I will also add that if I clear the VLAN association from port #11 on the switch, then the attached PC will grab a DHCP address from the native LAN basically right away...
Thanks in advance for any assistance, I know it's an obnoxious amount of info