• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • J
    JonathanLee
    last edited by JonathanLee Jun 13, 2023, 4:28 PM Jun 13, 2023, 4:19 PM

    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?

    login-to-view
    (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
    • J
      JonathanLee
      last edited by Jun 13, 2023, 4:33 PM

      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 Jun 15, 2023, 12:28 PM Reply Quote 0
      • P
        pst @JonathanLee
        last edited by Jun 15, 2023, 12:28 PM

        @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.

        J 1 Reply Last reply Jun 15, 2023, 3:42 PM Reply Quote 1
        • J
          JonathanLee @pst
          last edited by Jun 15, 2023, 3:42 PM

          @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 Jun 15, 2023, 4:32 PM Reply Quote 0
          • P
            pst @JonathanLee
            last edited by Jun 15, 2023, 4:32 PM

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

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