how to add private options in dhcpd.conf
I have a problem when I config my dhcpd configfile.
The function I need is dhcpd will send the dhcp offer packet with a special option that it include an ipaddr. so I modify the /etc/dhcp3/dhcpd.conf as below: /************************************************ option enc-server code 200 = ip-address; option enc-server 192.168.70.59; **************************************************/ but it cannot work. so can someone help me to work it out? Thanks! |
What happens if you use the option in your actual subnet declaration?
i.e. subnet 192.168.70.0 netmask 255.255.255.0 { ... option enc-server 192.168.70.59; ... } Also, have you tried using tcpdump to see if you are actually getting the option and your application is just not handling it correctly? |
I tired, but it didnot work, i cannot find option 224 in packets which snap by wireshark .
---------- Post added 02-27-12 at 05:58 PM ---------- I tired, but it didnot work, i cannot find option 200 in packets which snap by wireshark . |
All times are GMT -5. The time now is 11:48 AM. |