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

    phyiscal pfsense trunk to vSwitch esxi

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    20 Posts 3 Posters 3.1k 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.
    • kiokomanK
      kiokoman LAYER 8 @lugwitz
      last edited by kiokoman

      @lugwitz
      on esxi you need to Set the VLAN ID to 4095. A VLAN ID of 4095 represents all trunked VLANs.Immagine.jpg

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @kiokoman
        last edited by

        @kiokoman said in phyiscal pfsense trunk to vSwitch esxi:

        on esxi you need to Set the VLAN ID to 4095

        @lugwitz " I'm looking at assume that pfsense is a VM but in my .............

        if it is only a VLAN

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        kiokomanK 1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8 @DaddyGo
          last edited by

          @daddygo
          it does not matter if it's virtual or not, if you want all vlan to pass you need to set the portgroup where pfsense send traffic to 4095

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          DaddyGoD 1 Reply Last reply Reply Quote 1
          • DaddyGoD
            DaddyGo @kiokoman
            last edited by DaddyGo

            @kiokoman said in phyiscal pfsense trunk to vSwitch esxi:

            @daddygo
            it does not matter if it's virtual or not

            true, but... 😉
            but is that really the question?
            not a connecting a pfSense physical interface to a VM switch...pure or cleanly

            I quote...
            @lugwitz "Is there a way to trunk traffic from physical interface on pfsense(physical machine) to ESXi vSwitch?"

            +++edit:
            correct me if I misunderstand the OP
            don't fool anyone with the "trunk" word

            Cats bury it so they can't see it!
            (You know what I mean if you have a cat)

            kiokomanK L 2 Replies Last reply Reply Quote 0
            • kiokomanK
              kiokoman LAYER 8 @DaddyGo
              last edited by

              the physical interface of pfsense is always a trunk interface(vlan must be configured on pfsense) , and there is nothing to do there, only the switch or the vswitch can filter or block the vlan traffic

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              DaddyGoD 1 Reply Last reply Reply Quote 0
              • DaddyGoD
                DaddyGo @kiokoman
                last edited by

                @kiokoman said in phyiscal pfsense trunk to vSwitch esxi:

                the physical interface of pfsense is always a trunk interface

                I think the question is how to connect a physical and a virtual interface

                of course, the nature of the pfSense interface is what:
                therefore, it can be used for segmentation without VLANs

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

                kiokomanK 1 Reply Last reply Reply Quote 0
                • kiokomanK
                  kiokoman LAYER 8 @DaddyGo
                  last edited by

                  @daddygo
                  connect a cable from pfSense to the nic of esxi and assign it to a portgroup with vlan id 4095? 😂

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  DaddyGoD L 2 Replies Last reply Reply Quote 0
                  • L
                    lugwitz @DaddyGo
                    last edited by

                    @daddygo PF is not a vm. I'd prefer to not have a router as a VM. I'm trying to cut on CPU cycles and other resources if i can just trunk all of it to a physical router.

                    DaddyGoD 2 Replies Last reply Reply Quote 0
                    • DaddyGoD
                      DaddyGo @kiokoman
                      last edited by

                      @kiokoman said in phyiscal pfsense trunk to vSwitch esxi:

                      connect a cable from pfSense to the nic of esxi

                      I love you bro 😉

                      Cats bury it so they can't see it!
                      (You know what I mean if you have a cat)

                      1 Reply Last reply Reply Quote 0
                      • L
                        lugwitz @kiokoman
                        last edited by lugwitz

                        @kiokoman I've read that, ESXi doesn't seem to take that effect when you make the change. A bug maybe? my build is 6.7.0 Update 1 (Build 10302608)

                        1 Reply Last reply Reply Quote 0
                        • DaddyGoD
                          DaddyGo @lugwitz
                          last edited by DaddyGo

                          @lugwitz said in phyiscal pfsense trunk to vSwitch esxi:

                          PF is not a vm

                          that's the point 🤐

                          +++edit:
                          I'll get out of this, now 😉

                          Cats bury it so they can't see it!
                          (You know what I mean if you have a cat)

                          1 Reply Last reply Reply Quote 0
                          • DaddyGoD
                            DaddyGo @lugwitz
                            last edited by

                            @lugwitz said in phyiscal pfsense trunk to vSwitch esxi:

                            I'd prefer to not have a router as a VM

                            it's a smart idea 😉

                            Cats bury it so they can't see it!
                            (You know what I mean if you have a cat)

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lugwitz @DaddyGo
                              last edited by

                              @daddygo Sorry, I've made edit to correct grammar. I'm still awaiting up lol

                              DaddyGoD 1 Reply Last reply Reply Quote 0
                              • DaddyGoD
                                DaddyGo @lugwitz
                                last edited by

                                @lugwitz said in phyiscal pfsense trunk to vSwitch esxi:

                                I'm still awaiting up lol

                                it's not an ESXi issue or pfSense - it's just networking 😉

                                Cats bury it so they can't see it!
                                (You know what I mean if you have a cat)

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  lugwitz @DaddyGo
                                  last edited by

                                  @daddygo

                                  Here is another thing I've noticed. I've edit the network to correct port group that the machine show be on but I doesn't change and shows at disconnected. Samething vlan vlan tagging is working but its accepting the wrong network when it receives an IP. I've tried to reboot the Hypervisor but its still doing this. While writing this I think I solve the issue. I've delete vNIC to the VM and re-added it. And I'm seeing my network get re-assigned, connected and receiving the IP it should be getting. This VM was imported but I don't understand why redoing the vNIC need to make the change. It really sound like a bug with ESXi to me.

                                  b352a9cb-fe5b-4457-8166-983e59e4ada2-image.png

                                  DaddyGoD 1 Reply Last reply Reply Quote 0
                                  • DaddyGoD
                                    DaddyGo @lugwitz
                                    last edited by

                                    @lugwitz said in phyiscal pfsense trunk to vSwitch esxi:

                                    Here is another thing I've notice

                                    Please, my darling, please. note that 😉

                                    Cats bury it so they can't see it!
                                    (You know what I mean if you have a cat)

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      lugwitz @DaddyGo
                                      last edited by

                                      I've found the issue. My tagged traffic is not working with pfsense. I don't see that vlans are supported with it.

                                      https://ark.intel.com/content/www/us/en/ark/products/50495/intel-pro-1000-pt-quad-port-low-profile-server-adapter.html

                                      DaddyGoD 1 Reply Last reply Reply Quote 0
                                      • DaddyGoD
                                        DaddyGo @lugwitz
                                        last edited by

                                        @lugwitz said in phyiscal pfsense trunk to vSwitch esxi:

                                        I don't see that vlans are supported with it.

                                        it’s hard to imagine, as it is supported in principle by PHY ....(
                                        Intel® 82571EB)

                                        10af4282-d773-4298-8181-24c31db957d7-image.png

                                        but then I found this:

                                        https://social.technet.microsoft.com/Forums/ie/en-US/11584256-b924-4945-a2f4-aefca0c3a43a/intel-1000pro-vlan-not-working-any-idea?forum=winserverhyperv

                                        Cats bury it so they can't see it!
                                        (You know what I mean if you have a cat)

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