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

    VLAN trunking

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 5 Posters 2.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.
    • R Offline
      roy2019
      last edited by

      How to trunk VLANs without COM port?

      is it possible do it via SSH ?? :'(

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        Should have asked the switch manufacturer instead… ??? ??? ???

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN Offline
          NogBadTheBad
          last edited by

          A little more info would help, are you talking about your pfSense router or switch.

          But as the Dok says if its your switch your looking in the wrong location.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 0
          • johnpozJ Online
            johnpoz LAYER 8 Global Moderator
            last edited by

            What switch do you have?  If your taking about accessing the cli of the switch without a console connection, sure if the switch supports cli access, ie a command line interface then it can be gotten to via ssh, telnet or console cable if has one.

            Depending on your switch it might not even support cli, and can only use web gui, or setup software on a machine.  The cheaper soho smart switches might be like this.  But if has vlan support then you would be able to set that up however your switch is managed.

            Post your switch make and model, and can take a look to the methods of how is configured.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 25.07

            1 Reply Last reply Reply Quote 0
            • R Offline
              roy2019
              last edited by

              It's a 1.8GHz Dual-Core Celeron powered with 8GB RAM and 64GB SSD.

              This is how my switches look like.

              https://goo.gl/7Dweuz

              I found a lots How-to, most of them are showing trunking vlan through a console terminal, which I cannot find it normally in ssh terminal

              1 Reply Last reply Reply Quote 0
              • johnpozJ Online
                johnpoz LAYER 8 Global Moderator
                last edited by

                that doesn't look like a "switch"  Says ROUTER on it, with multiple WAN ports, and 1 lan - where did you get the idea its switch?  What is the make and model??  There has to be a make and model number on it!!  Or when you log into its gui!!

                But that port all the way on the left is console port where you could get a cli access.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 25.07

                1 Reply Last reply Reply Quote 0
                • R Offline
                  roy2019
                  last edited by

                  This is a great device, allow u to install PFsense.

                  All ports are customisable , I was plan to assign a VLAN through a LAN ports, I want to Trunk all VLANs with LAN, so they able to communicate with each other network group, (192.168.1.x, 192.168.2.x, 192.168.3.x)

                  I follow a youtuber : https://youtu.be/uF13fqQvGCs

                  I able to create those VLANs, but I tried manually set IP 192.168.3.30 with gateway 192.168.3.1 , I won't get any connection.

                  The only working group is 192.168.1.x which has internet connection

                  I tried to adds some firewall rules, but it doesn't work.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Online
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    I would assume the interfaces can be configured - doesn't make it a SWITCH!!!

                    That is a ROUTER.. not a switch!!  those ports are individual interfaces not switch ports!  If you want a switch, get a switch not a ROUTER!!!

                    So you have pfsense on that box..  And what ports are connected to what?  So your internet comes in what port?  Can then you configured vlans on the lan port - which connects to what?  Those other ports on that device are going to be interfaces not switch ports.

                    Draw up how you have your devices connected.

                    Post up your interfaces in pfsense..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 25.07

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      roy2019
                      last edited by

                      I only use ports em0 for internet and em1 for lan & vlans

                      diagram: https://goo.gl/yUBvWq (updated)

                      Problem: 3 PCs cannot ping each others, I manually config pc02 / pc03 IP address and not internet access

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        AndrewZ
                        last edited by

                        Forget about pfSense for a while.
                        What is your switch model? Does it support VLANs? Have you configured a single 'tagged' trunk port and multiple 'untagged' regular ports?

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ Online
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          ^ exactly!!!  What is the make and model of that 24 port switch in your drawing..

                          If you have all those free ports on router, and 24 ports to use on your switch..  Why would you hairpin your intervlan traffic like that with putting your vlans just on the em1 interface..  Why not use em2, 3 for your other networks.

                          Then you can just create vlans on your switch to isolate your layer 2's and your good to go without having to hairpin intervlan traffic..  Now if your short on ports on the switch ok and you don't do a lot of intervlan traffic..

                          switch.jpg
                          switch.jpg_thumb

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 25.07

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            roy2019
                            last edited by

                            because , we have 3 x Proxmox servers, each servers hosts over 100 VPS, we need more IP addresses , Hope it can be trunk in one port

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              roy2019
                              last edited by

                              @AndrewZ:

                              Forget about pfSense for a while.
                              What is your switch model? Does it support VLANs? Have you configured a single 'tagged' trunk port and multiple 'untagged' regular ports?

                              My switch just normal unmanaged Gigabit switches

                              Isn't that some configuration must be done with pfsense?

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                AndrewZ
                                last edited by

                                @roy2019:

                                My switch just normal unmanaged Gigabit switches

                                Then you need to replace it with a proper one.

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