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

    DHCP-Server Option 82 - Windows DHCP Server

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 2.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.
    • C
      cpirasa
      last edited by

      Hi There,

      I´m triying to get pfsense with activated DHCP-Server for one Interface to work with the Windows DHCP Server with the DHCP-82-Option.
      I read a lot of tutorials but i`m not smart enough to understand this.

      I need to get the pfsense dhcp-server get his dhcp-adresses from our Windows Server, the dhcp policy on the Windows Server is already active but it wants a hex digit and the pfsense can´t do it with hex digits. So do I need to calculate them?

      Greets

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

        So you want pfsense to be the dhcp from a relay, or you want pfsense to relay on the info to windows dhcp server and add option 82 info.  This is a check mark in the dhcp server relay section.

        I'm a bit confused - dhcp servers don't get dhcp addresses
        "I need to get the pfsense dhcp-server get his dhcp-adresses from our Windows Serve"

        Dhcp servers don't get IPs –> So it sounds to me that you want to relay/forward dhcp requests from devices connected to a pfsense network to your windows dhcp server that has scope setup.  So you would turn on dhcp relay and if you want to send option 82 info to the dhcp server (windows) - check the box.

        option82.png
        option82.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
        • C
          cpirasa
          last edited by

          Hi yes you´re right.
          The DHCP do not become any adresses from itself.

          I Got 3 Interfaces:

          • WAN
          • LAN ( IP- Range 10.0.0.0/16)
          • WLAN_Guest ( IP-Range 192.168.99.0/24)

          On our Windows Server is a scope with the Range for the WLAN_Guest and configured DHCP-Policy with the criteria "Relay Agent Information"
          The Scope for the WLAN should only be deployed to the WLAN_Guest Link without using VLANs…

          That was my Question.

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

            And where is this windows dhcp server?  what network?

            I know you can not enable dhcp relay while dhcp server is enabled.  I don't know if you can run say pfsense dhcp server on lan, and dhcp relay on wlan?

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.