Option 252 don't work

Phibee Network Operation Center noc at phibee.net
Mon Feb 11 18:45:23 UTC 2008


Hi

this is my dhcpd.conf:

=============================================
authoritative;
ddns-update-style none;
default-lease-time 3600;
max-lease-time 86400;
option wpad-url code 252 = text;

subnet 192.168.10.0 netmask 255.255.255.0 {
        option domain-name "local.int";
        option domain-name-servers 192.168.10.254;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.10.255;
        option routers 192.168.10.254;
        option ntp-servers 192.168.10.254;
        option wpad-url "http://wpad.local.int/proxy.dat";

        pool {
                range 192.168.10.1 192.168.10.200;
        }
}
=============================================


into my httpd:

<VirtualHost wpad.local.int>
        DocumentRoot /var/www/wpad.local.int/html
        ErrorLog /var/www/wpad.local.int/logs/error_log
        TransferLog /var/www/wpad.local.int/logs/access_log
        Redirect permanent http://wpad.local.int/wpad.dat 
http://wpad.local.int/proxy.dat
        Redirect permanent http://wpad.local.int/proxy.pac 
http://wpad.local.int/proxy.dat
        Redirect permanent http://wpad.local.int/proxy.da 
http://wpad.local.int/proxy.dat
        <Directory "/var/www/wpad.local.int/html">
            Options -Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
        AddType application/x-ns-proxy-autoconfig .pac .dat .da
</VirtualHost>





If i put manualy "Detect Proxy", that's work, he get proxy.dat
(the wpad file work)

but if i don't butdetect and ut manually a proxy, when he get a IP of 
DHCP, he
don't see the proxy.dat

with etherreal, i don't have information:
604.004933      0.0.0.0 -> 255.255.255.255 DHCP DHCP Request  - 
Transaction ID 0x3f98b758
604.011691 192.168.10.254 -> 192.168.10.197 DHCP DHCP ACK      - 
Transaction ID 0x3f98b758
749.686599 192.168.10.197 -> 192.168.10.254 DHCP DHCP Request  - 
Transaction ID 0xb5fa300c
749.687878 192.168.10.254 -> 192.168.10.197 DHCP DHCP ACK      - 
Transaction ID 0xb5fa300c
756.939625 192.168.10.197 -> 192.168.10.254 DHCP DHCP Request  - 
Transaction ID 0x22b868df
756.941210 192.168.10.254 -> 192.168.10.197 DHCP DHCP ACK      - 
Transaction ID 0x22b868df
801.447021 192.168.10.197 -> 192.168.10.254 DHCP DHCP Request  - 
Transaction ID 0x5ce05958
801.448709 192.168.10.254 -> 192.168.10.197 DHCP DHCP ACK      - 
Transaction ID 0x5ce05958

and in syslog too:

Feb 11 16:07:36 gw dhcpd: Wrote 5 leases to leases file.
Feb 11 16:07:36 gw dhcpd: DHCPREQUEST for 192.168.10.198 from 
00:18:de:94:4d:5f (MSCF) via eth2
Feb 11 16:07:36 gw dhcpd: DHCPACK on 192.168.10.198 to 00:18:de:94:4d:5f 
(MSCF) via eth2



Where i ca find this probleme ?

thanks




More information about the dhcp-users mailing list