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

Need help on configuring dhcp with webproxy!

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
2 Posts 2 Posters 2.1k 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.
  • N
    nnoottyy
    last edited by Jan 26, 2011, 9:57 AM

    hi all

    i'm quite new to this pfsense and need to know how to give dhcp with a proxy pointing to a wpad.dat of another box.

    i've tried to add in the "Additional BOOTP/DHCP Options" with
    number: 252
    type: string
    value: "http://192.168.2.13/wpad.dat"

    but it didn't work.

    am i doing it wrong or is there another way to do this thing?

    need your help, please…..

    thank you in advance. have a nice day.

    1 Reply Last reply Reply Quote 0
    • S
      SeventhSon
      last edited by Jan 26, 2011, 12:07 PM

      I just tried this on:
      2.0-BETA5 (i386) built on Thu Jan 13 20:30:46 EST 2011

      and it doesn't seems to be sending the extra options defined:

      192.168.0.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x295fdbd5, secs 1280, Flags [Broadcast] (0x8000)
        Your-IP 192.168.0.7
        Client-Ethernet-Address 00:26:****
        Vendor-rfc1048 Extensions
          Magic Cookie 0x63825363
          DHCP-Message Option 53, length 1: Offer
          Server-ID Option 54, length 4: 192.168.0.1
          Lease-Time Option 51, length 4: 1800
          Subnet-Mask Option 1, length 4: 255.255.255.0
          Domain-Name Option 15, length 20: "******"
          Default-Gateway Option 3, length 4: 192.168.0.1
          Domain-Name-Server Option 6, length 4: 192.168.0.1

      Although it's in /var/dhcpd/etc/dhcpd.conf:
      …
      option custom-lan-0 code 252 = string;
      ...
      option custom-lan-0 "http://192.168.2.13:80/wpad.dat";
      ...

      And i restarted dhcpd after config change.

      I don't think this option was available in 1.* branch, has been a long time since i've used it though... So maybe this should be moved to the 2.0 board?

      ... it should be in the OFFER, right? Or is it only sent when requesting extra options in an INFORM?

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received