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

    (SOLVED)no dhcp on the lan !!!

    Scheduled Pinned Locked Moved DHCP and DNS
    15 Posts 3 Posters 2.6k 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.
    • K
      Konstanti @major501
      last edited by

      @major501
      if you manually assign the ubuntu server ip address with the default gateway 192.168.12.1, will it be able to ping 192.168.12.1 ? for example, 192.168.12.2

      1 Reply Last reply Reply Quote 0
      • major501M
        major501
        last edited by

        https://i.imgur.com/hBoz6zu.png
        i want to automatic assign ip with pfsense

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

          Well it shows dhcp server running... So if your client is not getting dhcp - more than likely its not on the correct network via your VM setup..

          Does the dhcp service pfsense show any discover in the logs? Does it show its trying to had out an offer?

          The point of setting static on the machines was to actually validate you have connectivity to pfsense where the dhcp server is running.

          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
          • K
            Konstanti @major501
            last edited by

            @major501

            show the output of the command ifconfig -m
            the picture shows
            that interface em1 is down

            1 Reply Last reply Reply Quote 0
            • major501M
              major501
              last edited by

              I do not understand why the wan has a dhcp despite all my setting I would like the dhcp on the lan
              alt text

              here is the output of the command ifconfig -m em1
              alt text

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

                Your EM1 is not up - status = NO CARRIER. kind of hard for anything to talk to it when its not online. Or get a dhcp from it.

                Did you setup your VM settings to enable that nic on power up?

                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
                • major501M
                  major501
                  last edited by

                  thank you for your answer i rule my problem with virtualbox i can make internet networks and on the configuration panel the 2 cards are in green c is vmware-workstation which refuses to connect the card to the internal lan

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

                    Not sure what your issue is, but I have run pfsense on pretty much every VM solution out there and not had any issues. VirtualBox, Vmware Workstation, Vmware sphere/esxi, Hyper-V, etc.

                    All I can tell you if pfsense doesn't see the interface up - then no its not going to be able to do anything with that nic.

                    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
                    • major501M
                      major501
                      last edited by

                      it is a problem with vmware i am on fedora and vmware do not want to connect my network cards in lan internet but with virtualbox i optiend my ip address automatically

                      1 Reply Last reply Reply Quote 0
                      • major501M
                        major501
                        last edited by

                        alt text

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

                          And what does the log say? Did you actually enable the nic to be on in vmware? It looks like you have it enabled in your previous pic.. So what does the log say?

                          Lets see your lan segments tab.. Did you configure those - do you have any other vms on this lan segment? Did you actually create a lan segment for vms to connect to? What version of workstation are you running?

                          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
                          • major501M
                            major501
                            last edited by

                            i reinstall vmware workstation and now all work i can ping on internet Lan segment
                            alt text

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