Home Network Guy Website > How-to Discussions
VLAN DHCP In OPNSense?
Ruok2bu:
I followed your guide at https://homenetworkguy.com/how-to/configure-dhcp-vlans-opnsense/ and i have a DHCP range set up for a network but my pc will not grab an ip address from the range i set up! And i have 2 switches (daisy chained) to the physical switch. My PC only successfully gets and IP when the physical interface itself has DHCP set up.
Whats happening and how do i fix this?
Home Network Guy:
Are all of your switches VLAN aware? Also when you daisy chain your switches, you will need to make sure that the ports connecting each switch are configured to be as a "trunk" so that it will pass all of the VLAN IDs between the switches. The terminology for VLAN "trunks" can vary between vendors, but the concept is the same. You need to make sure the VLAN tags can propagate between all of the switches. That is my first thought on why you are not getting any DHCP addresses assigned if you are following the guide without knowing any other information about your configuration.
Ruok2bu:
Aha! That was the problem. My switches are dumb and unmanaged.
I'm going to get one 8 port VLAN aware switch instead.
I was looking at https://www.amazon.ca/TP-Link-Ethernet-Unmanaged-Replacement-TL-SG108E/dp/B00K4DS5KU Is that one good enough or do you recommend something else? Ideally i dont want to spend over $100 on the switch.
P.S. It will be used at home where i need to isolate 5 networks.
P.P.S. I was using Sonicwall SOHO for the last 15 years but got tired of having to pay yearly for access to updated firmware.
Home Network Guy:
Yes, that should be adequate to give you basic VLAN support. Unmanaged switches will often pass along VLAN tags, but you can't configure any of the ports to participate in VLANs, which is why you need a smart/managed switch. Once you have the switch, you will set up the same VLAN IDs on both the switch and OPNsense (or whatever router software you are using).
Ruok2bu:
So im having a problem, i followed all your guides, got VLAN's set up, enabled the DNS and DHCP rules for them (at the very least my management computer), got a smart VLAN switch. But everytime i enable VLAN on the switch (and set it to use the same VLAN IDs as i have configured on site), i lock myself out of OpenSense.
Any idea how to get around this?
Navigation
[0] Message Index
[#] Next page
Go to full version