Jump to content

I am rather new to all of this so I am hoping someone out there can give me a hand.

I have purchased an SMCGS-50P managed switch. I have a flat that I want to isolate from the rest of my house network and so using pfsense I created a vlan for the flat in PFSense.

I went to my switch and selected the ports that are in the flat and put them on their own vlan ID matching the ID number I assigned in PFSense.

I enabled DHCP in PFSense for that vlan and gave it a range.

I created a firewall rule in PFSense to allow any traffic to the internet but blocked it from my lan.

My issue is I can't get a DHCP or internet in the flat. I know 100% what ports the flat's ethernet jacks are connected to but no matter what settings I try my laptop that is connected physically in the flat can't get a DHCP lease or access to the internet.

Link to comment
https://linustechtips.com/topic/1147262-smc-managed-switch-vlans/
Share on other sites

Link to post
Share on other sites

4 hours ago, Psyonus said:

I am rather new to all of this so I am hoping someone out there can give me a hand.

I have purchased an SMCGS-50P managed switch. I have a flat that I want to isolate from the rest of my house network and so using pfsense I created a vlan for the flat in PFSense.

I went to my switch and selected the ports that are in the flat and put them on their own vlan ID matching the ID number I assigned in PFSense.

I enabled DHCP in PFSense for that vlan and gave it a range.

I created a firewall rule in PFSense to allow any traffic to the internet but blocked it from my lan.

My issue is I can't get a DHCP or internet in the flat. I know 100% what ports the flat's ethernet jacks are connected to but no matter what settings I try my laptop that is connected physically in the flat can't get a DHCP lease or access to the internet.

Make sure the port connecting the switch with pfsense is a trunk port

Link to post
Share on other sites

Do you have a layer 3 SVI or gateway IP address for that extra VLAN?  The DHCP scope is incomplete if there's no SVI on that VLAN.  You'd also have to trunk from the switch to pfsense.  Without tagged traffic into pfsense there's no DHCP service to offer in that broadcast domain.

PC : 3600 · Crosshair VI WiFi · 2x16GB RGB 3200 · 1080Ti SC2 · 1TB WD SN750 · EVGA 1600G2 · Define C 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×