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

    New Installation, no Apparent DHCP on the LAN Interface

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 2 Posters 1.3k 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.
    • G
      gfvalvo
      last edited by gfvalvo

      EDIT:
      Oooops ... I seen now that this question might be more appropriately posted in the "DHCP and DNS" section. Should I repost it there, or can an Admin move it?

      I decided to repurpose an older PC as my backup pfsense device should the primary one file.

      I downloaded version 2.7, used it to create a bootable USB stick, and successfully installed pfsene on the PC.

      The PC has 2 network interfaces and during configuration I can select either of them as the WAN interface (and the other as LAN). After setup, I successfully get an IP address on the WAN interface and can use the menu or shell to ping the outside world (eg ‘google.com’).

      However, when I plug a PC into the LAN interface, it does not pick up the expected 192.168.1.0/24 IP address. It’s like the DHCP server isn’t running. The behavior is exactly the same regardless of which network interface I use as WAN and which as LAN.

      Would appreciate any suggests for what to try next.

      Thanks.

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

        @gfvalvo said in New Installation, no Apparent DHCP on the LAN Interface:

        It’s like the DHCP server isn’t running.

        is it?

        Do both interfaces come up, pfsense and the PC when you plug the pc in? Is at least one of them gig. If they are both really old say 10/100 you would need a crossover cable if plugging directly into the interface on pfsense.

        Look in the dhcp log - do you see the discover from the PC.. If pfsense never sees a request for an IP, ie a discover - then it no your client would never get an IP.

        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

        G 1 Reply Last reply Reply Quote 0
        • G
          gfvalvo @johnpoz
          last edited by

          @johnpoz, thanks for the reply.

          How do I tell from the pfSense console if the DHCP server is running? From my previous installations, that just happens automatically.

          How do I tell from the pfSense console if the LAN interface is "up"?

          The GigE-capable Ethernet interface on the Client PC shows that the cable is connected to the pfSense box and ipconfig shows an IP Address of 169.x.x.x rather than the expected 192.168.1.x. I've noticed in the the past that's an indication that it's received no DHCP service.

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

            @gfvalvo said in New Installation, no Apparent DHCP on the LAN Interface:

            IP Address of 169.x.x.x

            That is what machines normally give themselves when dhcp doesn't answer.. This is a APIPA address.. would be 169.254.x.x

            You can tell if the service is running. You should see in the logs it starting as well and what interfaces listening on, you should also see in the log that you saw a discover, and sent an offer, etc.. If you never see a discover then yeah not possible to hand out an IP.

            info.jpg

            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

            G 1 Reply Last reply Reply Quote 0
            • G
              gfvalvo @johnpoz
              last edited by gfvalvo

              @johnpoz said in New Installation, no Apparent DHCP on the LAN Interface:

              You can tell if the service is running. You should see in the logs it starting as well and what interfaces listening on, you should also see in the log that you saw a discover, and sent an offer, etc..

              Trouble is, I can't get to the logs or anything else in the GUI since I can't get a LAN IP Address on the Client PC (other than the "APIPA address"). Browser won't go to 192.168.1.1, can't even ping it.

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

                @gfvalvo well if you set a static on your pc, say 192.168.1.2/24 can you ping it now? Can you access the gui.

                If you can then something off with dhcp.. If you can not - then you don't have connectivity - which would explain why dhcp isn't working.

                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

                G 2 Replies Last reply Reply Quote 0
                • G
                  gfvalvo @johnpoz
                  last edited by

                  @johnpoz said in New Installation, no Apparent DHCP on the LAN Interface:

                  @gfvalvo well if you set a static on your pc, say 192.168.1.2/24 can you ping it now? Can you access the gui.

                  I give that a try when I get a change. Thanks.

                  1 Reply Last reply Reply Quote 0
                  • G
                    gfvalvo @johnpoz
                    last edited by

                    @johnpoz said in New Installation, no Apparent DHCP on the LAN Interface:

                    well if you set a static on your pc, say 192.168.1.2/24 can you ping it now?

                    OK. Tried static IP Address on Client PC. Tried different Ethernet cables. Tried using different PC as the Client. No Joy with any of those attempts.

                    Only conclusion I can come to is that, for whatever reason, neither of the network interfaces on the box where I installed pfSense is capable of acting as the LAN interface. This despite the fact that either one works as the WAN interface.

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

                      @gfvalvo there is no different than acting like a wan or a lan.. Again is this interface gig? Or the interface on your pc? before gig there was no auto-mdix and you had to use a crossover cable.

                      If your plugging this device directly into pfsense. Do you see lights come on?

                      From the console - do you see the interface come up with a ifconfig?

                      link.jpg

                      What does the console show you? For your wan lan?

                      console.jpg

                      If shows up on pfsense, is it showing the same duplex and speed, see mine is gig (1000base-t Full duplex)

                      See my pc is the same

                      interface.jpg

                      Do you have a switch you could put between pfsense lan and your pc?

                      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

                      G 1 Reply Last reply Reply Quote 0
                      • stephenw10S stephenw10 moved this topic from Problems Installing or Upgrading pfSense Software on
                      • G
                        gfvalvo @johnpoz
                        last edited by

                        @johnpoz,
                        I guess I may have screwed something up during the initial installation. I just did a complete reinstall from scratch and now both interfaces are coming up correctly.
                        Thanks for your help.

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