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

    VLAN's not working with pfSense and HP1810-24G Switch.

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    39 Posts 7 Posters 3.9k 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.
    • HermanH
      Herman @jahonix
      last edited by

      Hi jahonix,

      Port 1 of the HP switch is connected to the Virtual Hyper-V LAN port of the pfSense. I've configured port 1 as a static trunk port on the switch. Makes no difference. I read also a lot about trunking ports. Thank you for providing even more info. will be appreciated.

      I have a strong feeling that I have to look in the Hyper-V switch corner, like Steve Scotter mentioned. But I am not sure. So I have to play around with that some more.

      Regards,
      Herman

      Limburg | The Netherlands.
      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

      1 Reply Last reply Reply Quote 0
      • HermanH
        Herman @steve.scotter
        last edited by

        Hi Steve-scotter,

        Thanks for your reply. I was thinking in that direction as well. The pfSense LAN and WAN port are Hyper-V switches connected to a physical NIC on the Hyper-V (Server 2016) host. De server has two physical nic's on board en a 4 port Intel server NIC interface card. So in total the server has 6 physical nic's on board. In another post I've read some info about some power shell command regarding the Hyper-V nics.

        Kind regards,
        Herman

        Limburg | The Netherlands.
        It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

        HermanH 1 Reply Last reply Reply Quote 1
        • HermanH
          Herman @Herman
          last edited by

          Hello,

          This is the thread I found regarding some powershell commands were @bobtheninja talks about. Does this make sense?

          https://forum.netgate.com/topic/81161/pfsense-hyper-v-vlans/3

          Any help appreciated
          Herman

          Limburg | The Netherlands.
          It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

          HermanH 1 Reply Last reply Reply Quote 0
          • HermanH
            Herman @Herman
            last edited by

            Hi Folks,

            I tried the following command. Somehow something went wrong.

            0_1551965793337_f5437c79-f4b2-4220-b80c-146c9db1e2c7-image.png

            This is the solution @bobtheninja provides. Any ideas?

            Regards Herman

            Limburg | The Netherlands.
            It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

              I just went over this recently... Let me dig up the thread..

              But yes you have to set trunk mode with powershell - not sure why messing with mac addresses? That thread is 2 years old..

              BRB
              edit: here you go
              https://forum.netgate.com/topic/139891/solve-hyperv-2012-vlans-support-hn0/8

              I walked through how to do tagged vlans, with pictures ;)

              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, 24.11

              HermanH 1 Reply Last reply Reply Quote 0
              • HermanH
                Herman @johnpoz
                last edited by

                Hi @johnpoz,

                Wow. That is a lot of information. I have to dig in there. You were right. I messed up things. Messing around with the mac address was indeed no good idea!!! Now I have to wait till I am home because my whole config isn't accessible anymore :-(

                I have to figure out the exact power shell command to do your trick. I have 2 nic's in de pfsense vm. A LAN and WAN. So I presume that I only have to alter the LAN vlan settings right?

                For now I am not able to connect to the network anymore! :-( I hope I can reverse the settings i've made...

                Cheerz Herman

                Limburg | The Netherlands.
                It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                HermanH 1 Reply Last reply Reply Quote 0
                • HermanH
                  Herman @Herman
                  last edited by

                  Hello Johnpoz,

                  I am back in business again. Was able to reverse my mes sup with the MAC address.

                  Let me show you what i Have done. That is after the restore :-)

                  0_1551983681830_7d2eadcb-b6b3-460b-9527-004c6a0f5bdc-image.png

                  Above you see the 2 virtual network adapters connected to my pfSense. one of them is the LAN and the other would be the WAN. cannot see that here. I think that is the reason why @bobtheninja was using the MAC address part???

                  Next I executed the following command.

                  0_1551983827785_bb363548-697a-457f-80b8-46bfefc12ce3-image.png

                  After that evrything stops working. When setting the mode back to Untagged everything is working again.

                  My HP 1810 switch is configured this way;

                  0_1551984196584_d4363baa-5483-4577-b70e-0647071b27fc-image.png

                  Port 1 on the switch that is connected to the pfSense LAN interface is configured as a Trunk port

                  0_1551984317366_967d3ab0-fe92-47a7-8a09-7a7f0f449f67-image.png

                  Any suggestions?

                  Kind regards Herman

                  Limburg | The Netherlands.
                  It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                  HermanH 1 Reply Last reply Reply Quote 0
                  • HermanH
                    Herman @Herman
                    last edited by

                    @herman said in VLAN's not working with pfSense and HP1810-24G Switch.:

                    Hello Johnpoz,

                    I am back in business again. Was able to reverse my mes sup with the MAC address.

                    Let me show you what i Have done. That is after the restore :-)

                    0_1551983681830_7d2eadcb-b6b3-460b-9527-004c6a0f5bdc-image.png

                    Above you see the 2 virtual network adapters connected to my pfSense. one of them is the LAN and the other would be the WAN. cannot see that here. I think that is the reason why @bobtheninja was using the MAC address part???

                    Next I executed the following command.

                    0_1551983827785_bb363548-697a-457f-80b8-46bfefc12ce3-image.png

                    After that evrything stops working. When setting the mode back to Untagged everything is working again.

                    My HP 1810 switch is configured this way;

                    0_1551984196584_d4363baa-5483-4577-b70e-0647071b27fc-image.png

                    Port 1 on the switch that is connected to the pfSense LAN interface is configured as a Trunk port

                    0_1551984317366_967d3ab0-fe92-47a7-8a09-7a7f0f449f67-image.png

                    Any suggestions?

                    Kind regards Herman

                    Another screenshot how the interfaces are shown in pfSense;

                    0_1551984801112_92e61d5d-1b4e-4996-b72a-a5c4fc6ce239-image.png

                    Limburg | The Netherlands.
                    It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

                      You sure hp uses trunk in the same same with as cisco? WTF is static mode? Where are you tagging specific vlans?

                      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, 24.11

                      HermanH 1 Reply Last reply Reply Quote 0
                      • PippinP
                        Pippin
                        last edited by

                        Yes, there is a difference between HP and Cisco:
                        https://networkingnerd.net/2011/02/02/when-is-a-trunk-not-a-trunk/

                        I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                        Halton Arp

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

                          ^ exactly!!! I thought they were different!

                          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, 24.11

                          1 Reply Last reply Reply Quote 0
                          • PippinP
                            Pippin
                            last edited by

                            On the old forum I posted a question few years ago and ran into this terminology problem myself, you where part of it too johnpoz ☺ , misunderstanding all around as same here, but cannot find the post...

                            I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                            Halton Arp

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

                              I have not had to touch an HP switch for years and years - and to be honest have no desire to any time soon... But yeah I recall terminology is different that cisco ;)

                              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, 24.11

                              HermanH 1 Reply Last reply Reply Quote 0
                              • HermanH
                                Herman @johnpoz
                                last edited by

                                @johnpoz said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                You sure hp uses trunk in the same same with as cisco? WTF is static mode? Where are you tagging specific vlans?

                                When I read the document Pipin provided HP uses tagged ports to carry multiple vlans.

                                Under mode there are the multiple option;

                                0_1552046688890_066e30e6-98ab-4ccf-8dca-d1d445cd4030-image.png

                                Gr. Herman

                                Limburg | The Netherlands.
                                It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                                GrimsonG 1 Reply Last reply Reply Quote 0
                                • HermanH
                                  Herman @Pippin
                                  last edited by

                                  @pippin said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                  On the old forum I posted a question few years ago and ran into this terminology problem myself, you where part of it too johnpoz ☺ , misunderstanding all around as same here, but cannot find the post...

                                  Hi Pipin, I really hoping you will ... :-)

                                  It seems that my HP 1810-24G is the pain in the ass here.

                                  Gr. Herman

                                  Limburg | The Netherlands.
                                  It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                                  1 Reply Last reply Reply Quote 0
                                  • HermanH
                                    Herman @johnpoz
                                    last edited by

                                    @johnpoz said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                    I have not had to touch an HP switch for years and years - and to be honest have no desire to any time soon... But yeah I recall terminology is different that cisco ;)

                                    I have the feeling you are not a really big fan of HP switches 😉

                                    You are tending more to Cisco? Is Unify also a good product?

                                    gr. Herman

                                    Limburg | The Netherlands.
                                    It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

                                      Not that not a fan of them... Just much more experience with Cisco, and the few times I have had to deal with HP.. Not impressed with them compared to the cisco use to working with.

                                      For the price of unifi - you could get a pretty much full featured L3 switch from cisco small business line. The sg300 or sg350 line.. I just saw a sg350-28 on amazon for $179.. Its feature set far exceeds the same sort of price point from unifi.

                                      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, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • GrimsonG
                                        Grimson Banned @Herman
                                        last edited by

                                        @herman said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                        0_1552046688890_066e30e6-98ab-4ccf-8dca-d1d445cd4030-image.png

                                        Those are LAGG modes, nothing to do with setting up VLANs.

                                        HermanH 1 Reply Last reply Reply Quote 0
                                        • HermanH
                                          Herman @Grimson
                                          last edited by

                                          @grimson said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                          @herman said in VLAN's not working with pfSense and HP1810-24G Switch.:

                                          0_1552046688890_066e30e6-98ab-4ccf-8dca-d1d445cd4030-image.png

                                          Those are LAGG modes, nothing to do with setting up VLANs.

                                          Thanks for your reply @Grimson .

                                          Gr. Herman

                                          Limburg | The Netherlands.
                                          It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

                                            The link pippin gave calls out what you need to do

                                            "In HPvania, the terminology used for a port that carries multiple VLANs is a tagged port. On an HP switch, the individual ports are rarely configured directly. Instead, the VLAN itself is configured and the ports are added to the VLAN configuration. "

                                            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, 24.11

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