Subnet selection option

Lennart Hellström (ERA) Lennart.Hellstrom at era.ericsson.se
Thu Aug 26 08:36:33 UTC 1999


Hi again,

>Well, from the client side, you just write "send
>subnet-selection-option xx.yy.zz.kk;" in the /etc/dhclient.conf file
>for a particular interface or pseudo declaration.   On the server
>side, you just have to hack locate_network to prefer the subnet
>selection option to the giaddr or the interface on which the packet
>arrived.

Hmmm, needn't the subnet selection option be defined in the list of options in tables.c and
in dhcp.h first? 
I'm having problem figuring out what function to use to check if that option is
sent in the received packet. I bet there is one... I'll keep searching the code until I figure it out, or until you show up with the answer ;-) 

	/Lelle

----------------------<<<<<<¤¤¤¤¤¤¤¤¤¤¤¤>>>>>>------------------------------------
Lennart Hellström ERA/KA/TA		email: 	Lennart.Hellstrom at era.ericsson.se
Ericsson Radio Systems AB		tel:     	+46 (0)8-585 347 81
SE-164 80 Stockholm			mobile:	+46 (0)70-432 64 27
Sweden



More information about the dhcp-hackers mailing list