VLAN DHCP
-
I am having an issue with VLAN and DHCP
I setup a vlan
attached it to igb2
added the vlan in interface assignments
created a dhcp scope for it.
everything is enabled.
However when I plug my laptop into igb2 I do not get an IP.I setup a regular lan on igb3, enabled dhcp and it hands out IP,s.
What am I doing wrong?
-
@Anatairus said in VLAN DHCP:
However when I plug my laptop into igb2 I do not get an IP.
Did you setup your laptop to use tags? Your device to get an IP from the vlan would have to send and understand the vlan tag..
-
@johnpoz Now see there I knew I was doing something wrong. Thanks a million. Works great.
-
@Anatairus said in VLAN DHCP:
I knew I was doing something wrong
Not sure what your wanting to accomplish exactly... You normally put a vlan on an interface where the physical interface will carry more than 1.. If your just going to plug a laptop into an interface on pfsense. There would normally be little reason to tag that traffic. And it would just be native (untagged).. So there is nothing to do on the device your plugging into the port.
Now if you were going to use this interface to connect to a switch where you would carry more vlans over this physical port.. Then the port you connect to your laptop on the switch would still be untagged, and only the port connecting pfsense to the switch that carries more than 1 vlan would need tags.
Without knowing what your wanting to accomplish, I would "assume" your doing it wrong ;) why would you tag traffic on a port that your only going to have 1 network and connect 1 device into?
-
@johnpoz You hit the nail on the head. I was just making sure that the VLAN would work.
I have a Cisco 3560-CX That I plan to set up.
I'm not a network guy. I do a lot of server work. The network is usually setup when I get involved.
That one little bit of info made a lot of things click into place for me.
Thank you so much!!! -
@Anatairus ah, ok that makes sense you were just wanting to test that your vlan worked, before you went forward with connecting to switch and add the rest of your vlans..
Yeah when doing such a "test' the device you plug in has to be set to understand and send the tag you setup..
If you have any questions going forward, just ask.