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

    DHCP crossing interfaces

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 1.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.
    • A
      apfusertoo
      last edited by

      Ok, I just configured a LAN segment with dhcpd address pool:

      10.0.0.50 - 10.0.0.59

      works fine.

      Then I added an atheros wireless card as OPT1, turned on dhcpd for that interface, and assigned this address pool:

      10.0.0.70 - 10.0.0.79

      … and shortly after that, a fixed workstation, with NO wireless card in it, and attached to the LAN segment, picked up this dhcp lease:

      10.0.0.71

      .... so it would appear that two different lease ranges, on different interfaces, get mixed up between them.  AGAIN, the host that got the wrong address has NO wireless NIC in it, so it definitely got the lease from the wrong interface.

      EDIT:  I am running 2013-05-02, so if you know of this bug and it's been fixed, perhaps this is just noise...

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I split this from the other thread since it was not related.

        It sounds like maybe you have those interfaces bridged. If they are bridged, then you really only want one interface to have an IP address, and only one of them should have DHCP configured.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          apfusertoo
          last edited by

          Thanks for your response.

          I am running a normal pfsense config (default, nothing interesting) between LAN <–> WAN

          ... but OPT1 is configured as an access point.

          I don't think I have any bridged interfaces, nor do I want any ...

          However, you are saying that I should only run dhcpd on the LAN interface?  Will wireless clients of the OPT1 interface still get the dhcp lease from LAN ?  That never occurred to me...

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            You can't have the same subnet on two interfaces without bridging, so there is some other misconfiguration happening there (Unless you really are using /27 or smaller on each…)

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • A
              apfusertoo
              last edited by

              Thanks.  Yes, I had both NICs on the same subnet, so that was probably the trouble.

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