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

    My second VLAN not working

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    5 Posts 3 Posters 955 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.
    • X
      xplozia
      last edited by

      I have installed pfSense 2.5.2 on thin pc with 1 LAN port. I created on the switch VLAN 10 for WAN connection with PPPOE. That working fine, I used LAN 5 from Switch for VLAN 10. I created a new VLAN 20 on Switch and I used LAN 3. I created a new VLAN interface on pfSenese with TAG 20 and IP 192.168.30.1. When I connect my PC on LAN 3 from Switch I not received an IP from VLAN20 192.168.30.xxx, I receive the IP from my lan 192.168.10.222. DHCP is set for VLAN20 (192.168.30.xxx) and my LAN (192.168.10.xxx). Where I wrong? I used the same Parent Interface EM0 for VLAN10 and VLAN20.
      Thanks!

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @xplozia
        last edited by

        @xplozia
        You didn't mention, how the LAN gets on your switch. So it's hard to say.

        Provide all interface and VLAN configuration details from pfSense and the switch.

        1 Reply Last reply Reply Quote 0
        • X
          xplozia
          last edited by xplozia

          My VLAN
          VLAN.jpg
          In VLAN20 I set DHCP server with range 192.168.30.xxx-192.168.30.yyy
          Mynet.jpg

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @xplozia
            last edited by

            @xplozia
            Since you have also the LAN on the trunk and hence on the switch, it's on the switch to separate the port properly.

            Did you remove VLAN1 from the LAN3 port in the switch settings?
            Also do you tag incoming packets correctly (PVID)?

            1 Reply Last reply Reply Quote 0
            • AndyRHA
              AndyRH
              last edited by

              If "My PC" is not tagged you may need to set the correct native VLAN on the switch. I had that problem.

              o||||o
              7100-1u

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