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

    WAN's in VLAN?

    Scheduled Pinned Locked Moved Hardware
    5 Posts 3 Posters 2.2k 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.
    • S
      stramato
      last edited by

      Is this possible?

      unmanaged switch port
      [LAN] –--- [pfSense Box] –--- [Managed Switch] –----- ADSL 1 in VLAN2 Port
                                                                          ------- ADSL 2 in VLAN3 Port
                                                                          ------- ADSL 3 in VLAN4 Port
                                                                          ------- ADSL 4 in VLAN5 Port

      So in my pfsense, I'll only have 1 LAN and 4 VLAN's. Will I have trouble with this setup?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Yes this is possible.
        No you should not have any problems.
        Although you should not use VLAN1 on the port going to the pfSense.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • S
          stramato
          last edited by

          thanks for the correction.

          will this Load Balance well with 1.2.3?

          I've found some Chinese 5-Port VLAN capable switches that are pretty cheap. Trying to compare this setup with having 5 LAN ports on the machine itself.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Yes 1.2.3 will work.
            It shouldn't be a "unmanaged switch port" either.
            The port going to the pfSense needs to have all the VLAN traffic leaving tagged.

            so basically:
            port to ADSL1 - untagged traffic, PVID 100
            port to ADSL2 - untagged traffic, PVID 200
            port to ADSL3 - untagged traffic, PVID 300
            port to ADSL4 - untagged traffic, PVID 400
            port to pfSense - tagged traffic vlan 100,200,300,400, PVID unused (just use a dummy like 999 and don't use this as a member of any group)

            On the pfSense create the VLAN-interfaces 100,200,300,400.
            Don't assign the parent interface itself.
            example:
            NIC: em
            vlan100 on em0 - assigned as OPT1
            vlan200 on em0 - assigned as OPT2
            vlan300 on em0 - assigned as OPT3
            vlan400 on em0 - assigned as OPT4
            em0 - not assigned

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • C
              clarknova
              last edited by

              I do this for mlppp and it works fine.

              db

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