option 121
Simon Hobson
dhcp at thehobsons.co.uk
Tue Apr 4 14:06:13 UTC 2006
<abdul.shaik at wipro.com> wrote:
>How the dhcpclient will extract the subnet mask from the dhcp option 121
>value? Please refer any related links stating about this if you know.
I would suggest rfc3442 as a starting point - something easy to find
thanks to google. It seems quite a simple encoding scheme, the first
byte contains the number of bits in the subnet mask - it can be done
by lookup table, shifting bits in a loop, or a number of other ways.
If, after having read rfc3442 you still have questions, then come
back with them.
NB : I am not aware of any clients that support this option yet.
Simon
More information about the dhcp-users
mailing list