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

    DHCP on OPT1 with Captive Portal

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 2.5k 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.
    • L
      lurch89
      last edited by

      I've set up a captive portal on OPT1 (which is a wireless card). I can get everything to work, firewall-wise, except for DHCP. DHCP seems to serve the wrong IP's to the ENTIRE LAN, and not just the OPT1 interface. It will serve out the OPT1's settings to the entire LAN instead of the separating based on which net you're connected to. It almost feels like the DHCP server is not binding to the interfaces correctly.

      Anyone else have this issue, or am I missing something really obvious???

      I've followed this tutorial: http://doc.pfsense.org/smiller/Captive_Portal.htm

      Thanks!
      -Andrew

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        If you're able to do so: remove the wifi card - add a classic NIC, and hook up a classic AP.

        See if this works.

        You'll be more sure about the fact that it has to do with the Wifi NIC, (the driver) ….

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • L
          lurch89
          last edited by

          I will try that on my setup, but after setting up pfSense at home, and testing (though missing this until all my DHCP clients expired and started getting the wrong addresses) the config, I set it up using 2 NICs instead of a NIC and a AP card, and it did the same thing. Wireless was taken out of the picture, and one DHCP pool was overriding the others (OPT1's DHCP was being handed out on LAN).

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            Opt1 shouldn't be bridged with the LAN nic.
            Opt1 shoul dhave its own DHCP server.

            If using an AP, it should be in real 'AP mode' - shut down natting, firewall, dhcp. It should behave like a switch.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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