option vs send ? netmask inheritance?

Glenn Satchell glenn.satchell at uniq.com.au
Tue May 18 17:51:05 UTC 2010


On 05/19/10 02:59, Jason Frisvold wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> 	Can someone either point me to documentation or explain the difference
> between the following :
>
> option host-name "myhost";
>
> and
>
> send host-name "myhost";
>
> I'm looking at a config from another system that has both of these
> defined for host entries and I'm wondering if it's redundant or if
> there's some reason to have both in there.

'send' is a client configuration command, that says to send that option 
in the DHCP request to the server. See man dhclient.conf. It has no 
meaning in the server's dhcpd.conf.

option host-name sets the value for that option, in this case it would 
over-ride any hostname supplied by the client. All options are covered 
in the dhcp-options man page.

> Also, do host entries inherit the netmask of the encompassing scope, or
> should the netmask be explicitly defined?

It inherits all the values from the subnet scope which matches the IP 
address being assigned (either a fixed-address or a dynamic address), 
and any other scopes such as a group statement. Other useful things that 
are inherited are routers, lease times, and so on. No need to specify 
netmask.

regards,
-glenn

> Thanks!
>
> - --
> - ---------------------------
> Jason Frisvold
> Network Engineer
> frisvolj at lafayette.edu
> - ---------------------------
> "What I cannot create, I do not understand"
>     - Richard Feynman
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.13 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvyx4sACgkQO80o6DJ8UvnvUACcC0eLxeC7mg+1C0Y/Icq735KY
> 86EAniqD5xRJxqXcKvhC58cVg6kOh+Ie
> =Pxji
> -----END PGP SIGNATURE-----



More information about the dhcp-users mailing list