Subject: Re: netbsd DHCP vendor class identifier (VCI)
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 11/11/2005 13:50:05
"Steven M. Bellovin" wrote:

> In message <4373EB41.2040905@tadpole.com>, "Garrett D'Amore" writes:
> >Hi,
> >
> >I've noticed that the NetBSD in-kernel DHCP client sends a vendor class 
> >identifier which is made up as follows:
> >
> >    snprintf(vci, sizeof(vci), "%s:%s:kernel:%s", ostype, MACHINE,
> >        osrelease);
> >
> 
> In-kernel dhcp client?  I don't think there is one on NetBSD.

The nfs bootcode can use dhcp requests - see nfs/nfs_bootdhcp.c,
in particular bootpc_call().  Using the word "client" may be a bit
generous - the kernel doesn't worry about leases, etc.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/