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

    Pfsense lagg to esxi

    General pfSense Questions
    2
    12
    2.8k
    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.
    • N
      nikkon
      last edited by

      for the first setup, yes i used the same KB from vmware to validate the setup. it works even if i use LACP for lagg.
      2 uplinks on the vmnetwrok, 1 vmkernel

      –-
      for the second setup i deleted the lag interface and initialized each interface independently on pfsense.
      esxi 6, one onbord intel Gbit + 2xbroadcome Gbit interfaces on pci-ex
      2 uplinks, one for vm management network (igb0), one connected to vms network (assigned to vm's) - igb1

      pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

      Happy PfSense user :)

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

        So I can not test your 1st setup without taking down my network.  But your vmkern should be easy enough to troubleshoot.

        You say you can not ping - can not ping what pfsense IP from esxi or esxi from pfsense?  Did you disable the firewall in esxi?  What version are you running?  Was this an upgrade?  Or clean install - you sure on the right nics.  Can pfsense the mac?  Can esxi see the mac of your pfsense interface?

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

        1 Reply Last reply Reply Quote 0
        • N
          nikkon
          last edited by

          if we speak about the first setup:
          LAGG on pfsense -> connected to esxi management netwrok.
          none of the vm's connected to the same vm network (where the 2xGbit uplinks are) are getting dhcp ip's. if i use manual ip's same isse.from the vm instace i'm able to ping esxi ip (same netwrok) but not pfsense LAG (also same network)

          pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

          Happy PfSense user :)

          1 Reply Last reply Reply Quote 0
          • N
            nikkon
            last edited by

            what is verry strange for me…is test scenario 2! which is no roket science...simple connection didn't work.

            pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

            Happy PfSense user :)

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

              Well your doing something wrong then.. Agreed its a no brainer setup..  So your connecting too the wrong interface, driver is not correct on esxi?  I am assuming you have validated that you can connect other stuff to the pfsense interfaces, etc.

              So you troubleshoot what you did wrong - can the devices see each other mac.. If not then no they are not going to talk to each other.  If they can then prob some firewall issue.

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

              1 Reply Last reply Reply Quote 0
              • N
                nikkon
                last edited by

                i suspect some fw shit on esxi. somehow something there's is bloking traffic.

                pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                Happy PfSense user :)

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

                  it not going to block outbound access, and sure and the hell would not block dhcp, if interface set for dhcp.  And firewalls don't block arp, etc.  So if pfsense can not see mac of your esxi interface then you have a cable problem, switch problem or interface on the other end is not up or driver not working, etc..

                  This is all really 101 basic connectivity troubleshooting.  Go to pfsense look at the arp table after you try and ping..  You said you set these IPs up static did you mess up mask, pfsense likes to default to /32 for example.

                  example

                  [2.3.2-RELEASE][root@pfSense.local.lan]/root: arp -a | grep 192.168.9.40
                  esxi.local.lan (192.168.9.40) at 00:1f:29:54:17:14 on em1 expires in 93 seconds [ethernet]
                  [2.3.2-RELEASE][root@pfSense.local.lan]/root:

                  from esxi
                  [root@esxi:~] esxcli network ip neighbor list
                  Neighbor              Mac Address        Vmknic    Expiry  State  Type
                  –------------------  -----------------  ------  ---------  -----  -------
                  192.168.9.32          b8:27:eb:31:70:ab  vmk0      810 sec        Unknown
                  192.168.9.100        18:03:73:b1:0d:d3  vmk0    1178 sec        Unknown
                  192.168.9.7          00:0c:29:f0:74:06  vmk0    1125 sec        Unknown
                  192.168.9.8          00:0c:29:48:2d:09  vmk0    1178 sec        Unknown
                  192.168.9.11          00:0c:29:49:91:eb  vmk0    1178 sec        Unknown
                  192.168.9.253        00:50:56:00:00:02  vmk0      15 sec        Unknown
                  192.168.9.252        c0:7b:bc:65:4f:13  vmk0      543 sec        Unknown
                  192.168.9.31          b8:27:eb:1c:6e:09  vmk0    1187 sec        Unknown

                  turn off its firewall if you want..

                  you will notice mine is off, since it really serves no purpose on my private network.  Only devices on the network vmkern are my trusted devices managed by me, admin by me, etc. etc.  So I just turn it off.  Devices on other segments of my network can not talk to my "lan" where pfsense vmkern sits and if they can its to a specific IP on specific port, etc.  I allow another segment to talk to say my plex server on port 32400, etc.

                  Its easy enough to turn off.

                  [root@esxi:~] esxcli network firewall get
                    Default Action: PASS
                    Enabled: false
                    Loaded: false
                  [root@esxi:~]

                  [root@esxi:~] esxcli network firewall unload

                  Now no firewall…

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

                  1 Reply Last reply Reply Quote 0
                  • N
                    nikkon
                    last edited by

                    Thank you for the detailed explanation and time lost with my issue.

                    I have decided to use a very easy setup:

                    • one interface for MGMT
                    • one to get dhcp for vms in esxi
                      I have created 2 vswitches and 2 vm netwroks linked with the 2 phis interfaces as in the attached screenshots.
                      still not getting dhcp on vm's

                    cli.png
                    cli.png_thumb
                    ![esxi netwrok.png](/public/imported_attachments/1/esxi netwrok.png)
                    ![esxi netwrok.png_thumb](/public/imported_attachments/1/esxi netwrok.png_thumb)
                    pfsense.png
                    pfsense.png_thumb

                    pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                    Happy PfSense user :)

                    1 Reply Last reply Reply Quote 0
                    • N
                      nikkon
                      last edited by

                      stupid question: can this be because from pfsense to esxi i use a direct connection? no sw between those 2?
                      Had the same before lacp on pfsense (LAG0 with lacp) to centos bond-lacp and worked just fine.

                      pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                      Happy PfSense user :)

                      1 Reply Last reply Reply Quote 0
                      • N
                        nikkon
                        last edited by

                        it works connecting it via a switch.
                        will keep it that way, still i need to separate the dhcp pool from my LAN.
                        I have created an aditional dhcp pool (in the same network) but i'm not able to make it use that one only.
                        like force all requests comming from ESXi to be served from that pool.
                        Any clue on this?

                        pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                        Happy PfSense user :)

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