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

    PfSense ESXI

    Scheduled Pinned Locked Moved Virtualization
    17 Posts 4 Posters 5.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.
    • P
      pfRoss
      last edited by

      Hi guys,

      I'm having an issue with my pfSense lab in ESXi.

      This is the current NIC configuration, and with my the Ubuntu VM turned on, it can't get an IP from pfSense and I'm not sure why.

      It's worth noting that this is a network inside of a network.

      Does anyone have any ideas?

      I don't have anything physical connected to that port on the NIC itself, the only thing that's connected to the NIC is a cable from a wireless repeater to enable internet access from my ACTUAL home router (this is the WAN interface in pfSense.)

      Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • G
        gjaltemba
        last edited by

        In Ubuntu, what is the output of vmtoolsd -v?

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

          Does 2k12 r2 get an IP?  If you connect the phy nic to a network do those get an IP?

          What vnic did you give to ubuntu?  Does it work if you give it a static?

          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
          • P
            pfRoss
            last edited by

            @gjaltemba:

            In Ubuntu, what is the output of vmtoolsd -v?

            VMWare Tools daemon, version 9.4.10.37835

            @johnpoz:

            Does 2k12 r2 get an IP?  If you connect the phy nic to a network do those get an IP?

            What vnic did you give to ubuntu?  Does it work if you give it a static?

            No it doesn't get an IP.

            Ubuntu works if I give it a static.

            Ubuntu gets the VMNIC2 which is on the LAN.

            I don't get anything if I plug directly into that port either  :-\

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

              is dhcp server running?  Your saying it works if static, but no dhcp - well what does pfsense show you, is it seeing dhcp discover?

              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
              • P
                pfRoss
                last edited by

                @johnpoz:

                is dhcp server running?  Your saying it works if static, but no dhcp - well what does pfsense show you, is it seeing dhcp discover?

                Yeah, the service is running. However if I set it as static, it doesn't show in pfSense's DHCP leases status page. So confused right now.

                HOWEVER I've just checked the logs and…

                This is the output of ps aux | grep dhclient

                I also can't ping 192.168.2.1 on the Ubuntu machine when it has a static address.

                1 Reply Last reply Reply Quote 0
                • H
                  heper
                  last edited by

                  dhclient is not the dhcp-server …

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfRoss
                    last edited by

                    dhcpd service is started and running. This is driving me nuts.

                    1 Reply Last reply Reply Quote 0
                    • H
                      heper
                      last edited by

                      so you can ping from pfsense to another guest when setting static ips ; but dhcpd doesnt work ?

                      is there anything special about the vswitch configuration ?

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfRoss
                        last edited by

                        Correct.

                        I'm going to setup the vSwitches and try again.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pfRoss
                          last edited by

                          Ok, that didn't help.

                          Is there anything more I can do to debug this? It's just refusing to work.

                          1 Reply Last reply Reply Quote 0
                          • H
                            heper
                            last edited by

                            packet capture on pfsense and on other vm's to figure out where it goes wrong.

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfRoss
                              last edited by

                              @heper:

                              packet capture on pfsense and on other vm's to figure out where it goes wrong.

                              So tcpdump right?

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

                                Looks to me like your not seeing dhcp discover, so either your not sending them or for some reason your server is not seeing them..

                                your dhcp server log would show discovers or requests

                                requestordiscover.png
                                requestordiscover.png_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, 24.11

                                1 Reply Last reply Reply Quote 0
                                • H
                                  heper
                                  last edited by

                                  @pfRoss:

                                  @heper:

                                  packet capture on pfsense and on other vm's to figure out where it goes wrong.

                                  So tcpdump right?

                                  Diagnostics: Packet Capture

                                  and/or wireshark on your vm's

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

                                    yeah you can fun tcpdump from ssh or console as well.

                                    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
                                    • P
                                      pfRoss
                                      last edited by

                                      Cannot believe I screwed this up so badly. My apologies guys… Quite simply I had the interfaces assigned wrong.  :'(

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