Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Assign network value to VLAN

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    4 Posts 3 Posters 700 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jc70
      last edited by

      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!

      J R 2 Replies Last reply Reply Quote 0
      • J
        Jarhead @jc70
        last edited by Jarhead

        @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.

        J 1 Reply Last reply Reply Quote 0
        • R
          rcoleman-netgate Netgate @jc70
          last edited by

          @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.html

          The 7100's internal switch does weird things, too, but they're a lot more transparent than UI's hardware.

          Ryan
          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
          Requesting firmware for your Netgate device? https://go.netgate.com
          Switching: Mikrotik, Netgear, Extreme
          Wireless: Aruba, Ubiquiti

          1 Reply Last reply Reply Quote 1
          • J
            jc70 @Jarhead
            last edited by

            @jarhead appreciate the quick reply. I’ll check that out. Thanks again

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.