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

    DHCP Option 252, Option 42 Questions

    DHCP and DNS
    dhcp ntp wpad proxy
    2
    5
    1.0k
    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.
    • JonathanLeeJ
      JonathanLee
      last edited by JonathanLee

      Hello fellow Netgate community members,

      Can you please help?

      I am a bit confused with this. What WPAD URL would be required? We have made three per the Netgate docs. We have .dat .da and .pac.

      To quote Netgate Docs, "A WPAD host may be supplied via DHCP numbered option 252 (string value containing the entire URL to the WPAD file) or DNS, which is easy to do with the built-in DNS forwarder."

      Also per Netgate Docs we made three URLs to WPAD .dat .da .pac. . .
      "Due to the different ways that various browser versions try to access the file, this same code should exist in at least three different places:

      /usr/local/www/wpad.dat
      /usr/local/www/wpad.da
      /usr/local/www/proxy.pac"

      My question now is, would I use three strings for option 252? It should only be one correct?

      Screenshot 2023-06-13 at 9.15.29 AM.png
      (Image: Current DHCP options configured)

      Also can you please let me know if option NTP 42 set correctly?

      I feel I messed this all up but the Xbox is running fine.

      Make sure to upvote

      1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee
        last edited by

        I know it says A WPAD host may be supplied via DHCP option 252, but what WPAD file is supposed to be used here out of the three we created.

        Make sure to upvote

        P 1 Reply Last reply Reply Quote 0
        • P
          pst @JonathanLee
          last edited by

          @JonathanLee If my memory server me correctly the three path are required if you don't advertise the URL using option 252. If you use 252 then the client should use it, and I suspect any modern client would look for the URL in 252.

          I base the above on a vague memory of seeing random requests for "WPAD URLs" before I added option 252. Unfortunately I don't have that setup ny more so I can't verify it.

          JonathanLeeJ 1 Reply Last reply Reply Quote 1
          • JonathanLeeJ
            JonathanLee @pst
            last edited by

            @pst Thanks for the reply, I am a bit confused with your reply. Just to confirm it does need all three so my configuration is ok?

            Make sure to upvote

            P 1 Reply Last reply Reply Quote 0
            • P
              pst @JonathanLee
              last edited by

              @JonathanLee sorry if I wasn't clear. No, one URL should be enough

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