this post was submitted on 26 Nov 2023
3 points (100.0% liked)
Home Networking
198 readers
1 users here now
A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.
Rules
- Please stay on topic.
- Please use the search function to look for keywords related to what you want to ask before posting since most common issues have been answered.
- No Ads. This community is for support and discussion. Ads and self promotion are not welcome here.
- No product reviews or announcements. If you have a question about a product, be specific about what you want to know.
- Be civil. Don't be a jerk. Not being a jerk is surprisingly easy.
- No URL shorteners. URL shorteners tend to hide the real use of a link. For this reason, please use normal links, even if they're long.
- No affiliate links.
- No gatekeeping. With profession shall come professionalism. Extend help without judging others for their ignorance. The same goes for downvoting of comments or posts for "stupid questions" or not being as knowledgeable as others.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The connection from SW-A to SW-B should be a VLAN trunk -- ie tagged (all vlans assigned assigned would normally be the default). VLANs have to be defined on both switches.
The connection from SW-A to the router would also be configured as a VLAN trunk - ie tagged.
The only difference is how the router would be configured. From a Juniper/Cisco perspective, you would create subinterfaces for each tagged VLAN and assigned them the VLAN Id's of the tagged ports. Each subinterface would have an IP address corresponding to the network's default gateway. I'm not sure if the PFSense is different -- I never use this software for a router.
VLAN 1 is normally considered special because it would be the native VLAN on most switches so would be an untagged VLAN. If this is unintended, the easiest thing would be to change the VLAN number and tag it. Alternatively if the switch and router allow it, simply change the native VLAN to something besides 1. It it's intentional then do nothing.
My router is a computer (2 NIC) with PFSense.
Nic 0 -> WAN
Nic 1 -> LAN + VLANs
https://i.imgur.com/73F3yTn.png