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

    Multi VLAN over LAN possible?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 588 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.
    • E
      eroji
      last edited by

      I have pfsense running and working well for some time. I am now looking to set up a multi vlan network to separate the servers and other equipment from general home network. I purchase a TL-SG2424 L2 switch. However, I am having difficulties getting the whole setup to work.

      The topology of the configuration is

      Internet –> pfsense box --> TL-SG2424 switch

      I am thinking to for instance put port 1-8 as VLAN10 for servers, port 24 as the uplink to pfsense, port 23 to another POE switch for security cameras that I'd like to put on a VLAN20. Then another port as guest wifi AP VLAN99. Rest can be general LAN use.

      Right now, pfsense is set to give out ip in 192.168.10.0/24 subnet. I created the VLAN10 as a start and set it to the 10.1.10.0/24 subnet. I also created NAT rule to allow outgoing traffic. However, after configuring the VLAN on the switch, I just can't seem to DHCP for an IP on port 1-8 no matter what I tried to change.

      At this point, I don't think it has to do with config on the switch, but it is still a possibility. I do however want to make sure my pfsense config is set correctly and complete.

      Need some help  :-\

      1 Reply Last reply Reply Quote 0
      • E
        eroji
        last edited by

        Here are the screenshot of the settings.

        interface.png
        interface.png_thumb
        vlan.png
        vlan.png_thumb
        dhcp.png
        dhcp.png_thumb
        firewall.png
        firewall.png_thumb

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Creating the VLAN is not enough.

          You need to go to Interfaces > (assign) and assign OPT1 to VLAN 10 on igb1 if you want the OPT1 interface to hit your switch tagged with VLAN 10.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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