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

    Alix2d3 with 3 LANs - I need more than 3!

    Scheduled Pinned Locked Moved General pfSense Questions
    32 Posts 5 Posters 8.4k 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.
    • C Offline
      costasppc
      last edited by

      Thank you!!!

      Can you refer me to documentation for the VLAN setup (I have pfs the definitive guide book).

      Regards

      Kostas

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Chapter 10 in the book covers VLANs from head to toe, including configuring them on some switches. I believe the Netgear web interface is covered in there

        Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C Offline
          costasppc
          last edited by

          Thanks for the quick answer! I will study and get back!

          Kostas

          1 Reply Last reply Reply Quote 0
          • C Offline
            costasppc
            last edited by

            We ave a Cisco VLAN capable switch that is being used right now. Can I use some ports of this as a VLAN to extend the Alix ports?

            Regards

            Kostas

            1 Reply Last reply Reply Quote 0
            • W Offline
              wallabybob
              last edited by

              @costasppc:

              We ave a Cisco VLAN capable switch that is being used right now. Can I use some ports of this as a VLAN to extend the Alix ports?

              Yes. I have a VLAN capable switch and use it to "multiply" a single physical port on my pfSense box to two switch ports, one to my ADSL modem and one to my DMZ. The "shared" physical port on the pfSense box has two VLANs and connects to a "trunk" port on the VLAN switch.

              1 Reply Last reply Reply Quote 0
              • C Offline
                costasppc
                last edited by

                Well, all are explained very well, however I have issues with VLAN setup, and I need some help to accomplish this.

                Here is my setup and the procedures I have followed so far, with no luck with the VLAN setup:

                Setup
                We have a Cisco SLM2048 switch as the main company switch, and I need to use some port of the switch to create the appropriate VLANs for extending PFSense.

                Procedures
                1. Created vlans on pfsense interface (3 vlans (VLAN10, VLAN20, VLAN30) -1 interface port) and in switch (3 vlans in 3 different ports and 1 port for all).
                P.S. the SLM2048 does not have a "trunk port". I have used a port set to "all" for this. All the switch ports have in "Port Settings" -> Acceptable frame type -> All or Tagged. All the ports are set to All. I have changed the VLAN ports to "Tagged", however I havent changed the PVID setting (left it to 1). Each VLAN contains its assigned port and the "trunk" port (VLAN10 = port 29 and port 32, VLAN20=port 30 and port 32, VLAN30=port 30 and port 32).

                2. Connect each router (in bridge mode) to the relevant vlan port of the switch.

                3. Connect PFSense to the "trunk" port

                4. Created 3 OPT interfaces in pfsense and assign them in the relevant vlan (VLANOPT1, VLANOPT2, VLANOPT3)

                5. Enabled opt interfaces as PPPoE and assign the credentials for ISP.

                Now, in Interfaces assignments I have the VLANOPT1 configured as "PPPoE4 (vr2_vlan10) - username@isp.gr

                However the VLANOPT1 interface shows with the red X on the dashboard. If I change the assignment of the interface as vlan10 the port shows as connected (green).

                Sorry for the long post.

                Thanks in advance

                Kostas

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Metu69salemi
                  last edited by

                  can you provide screenshots from that switch if there is something to fix

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wallabybob
                    last edited by

                    I don't have any experience with the switch you are using but I suspect the switch ports connecting to the modems should be configured as "Untagged" (that is, the switch should strip VLAN tags on output to the modems and add VLAN tags on input from the modems).

                    @costasppc:

                    If I change the assignment of the interface as vlan10 the port shows as connected (green).

                    Please give more detail of what you have changed: VLANOPT1 physical interface changed from vr0_vlan10 to what?

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      costasppc
                      last edited by

                      Thank you all for your answers.
                      Here are the screenshots of the VLAN relevant areas of the switch.

                      The ports used for VLANs is VLAN10=port 29, VLAN20=port 30, VLAN30=port 31, "trunk" port=port 32.

                      Each VLAN contains its port and port 32.

                      Best regards

                      Kostas

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Metu69salemi
                        last edited by

                        try client access ports with untagged, then it should work

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          costasppc
                          last edited by

                          You mean the ports connecting the modems?

                          Regards

                          Kostas

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            Metu69salemi
                            last edited by

                            yes and computers

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              costasppc
                              last edited by

                              Unfortunately, it is not working. I have set the ports to untagged. When I assign the interface as PPPoE, it shows down. When it assigned as VLAN, it shows connected.

                              Please check images.

                              Best regards

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Metu69salemi
                                last edited by

                                trunk port has to be tagged

                                all the ports what is connected to computers and other "end devices" should not use vlans unless those are introduced to these machines

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  costasppc
                                  last edited by

                                  Thanks.

                                  So, trunk port must be tagged for all VLANs and VLAN port must be untagged.

                                  What about interface assignment, must be the PPPoE setting?

                                  Thanks for the help so far.

                                  Kostas

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Metu69salemi
                                    last edited by

                                    what about it(PPPoE)?

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      costasppc
                                      last edited by

                                      Shall I use PPPoE for interface assignment?

                                      Thanks

                                      Kostas

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Metu69salemi
                                        last edited by

                                        it depends about your modem settings, is it in bridging mode or routing mode?
                                        if bridging, then you should use PPPoE, if modem had that one also(while routing with modem)

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          costasppc
                                          last edited by

                                          It is bridging, and it works OK if I connect it to the normal (not OPT) WAN port.

                                          Regards

                                          Kostas

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Metu69salemi
                                            last edited by

                                            are you having ip-address in vr2 also
                                            this question is because, if you have vlans on interface vr2 and vr2 is physical interface, that is undesired situation because it may break something.

                                            you are saing that if modem is connected to wan-if straight it works
                                            but if you connect it to vlan-if it doesn't work
                                            and your settings are: internet–modem--(vlan10 untagged)switch(vlan10 tagged)--pfsense

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