Assign network value to VLAN
-
New to Netgate and probably a dumb question, but I can't seem to figure it out.
Scenario: Netgate 7100 with a 48 port Ubiquiti switch (swapped out the Ubiquiti firewall with Netgate). I had a few ports on the Ubiquiti network assigned to a VLAN that had it's own network (ie. default all 192.168.2.x and my VLAN was 192.168.4.x). Now that I have added the Netgate routing device, I need to replicate this. I created the VLAN on the Netgate and a VLAN only network on the Ubiquiti switch, however I cannot seem to find out where on the Netgate I can specify the network details to be used for the VLAN..
Read through the docs and community, but haven't been able to locate. Apologies, I'm guessing this is going to be an oversight on my part, but appreciate any insight.. Thanks!
-
@jc70
Ubiquiti does things "behind the scenes" with vlans that normal network devices don't do. It results in people not knowing how to do actual networking and being really confused when they try to. It works great as long as you stay with all ubiquiti equipment, but once you don't, there's a learning curve. But it'll make you better to learn it, it's stuff you should know anyway.So you don't assign network info in the switch, you assign it in the router (pfSense) in this case.
If you go to Interfaces/Assignments, you can then select the vlan and assign it as a new interface (bottom of interface list), then click on that interface and enable it, assign IP and name it.
Then you assign vlans in the switch.
You need a trunk port (cisco term but widely adopted) to carry the vlans from the router to the switch. These should be tagged vlans, although you can still have one untagged as the native vlan.
Then you assign access ports to the switch ports you will plug your devices into. These will be untagged with the vlan you need for the devices plugged into that port. Some switches will also change the pvid to this vlan but you may have to do that manually. -
@jc70 said in Assign network value to VLAN:
Scenario: Netgate 7100
Have you read this documentation?
https://docs.netgate.com/pfsense/en/latest/solutions/xg-7100/switch-overview.htmlThe 7100's internal switch does weird things, too, but they're a lot more transparent than UI's hardware.
-
@jarhead appreciate the quick reply. I’ll check that out. Thanks again