Kyle McDonald wrote:
> Hi all,
> 
> I've tried running the DHCP server in debug mode, and that lets me see 
> when the requests come in, and the replies go out, but it doesn't show 
> me what is in the reply.
> 
> Is there a way to see this?
> 

snoop.

> I really like to see the Macro's being selected, the order, and the 
> resulting options.
> 

No way to do that.  There's an old RFE for a simulator in the tools, but 
we never implemented it.  But the docs on the DHCP server describe the 
algorithm used fairly well, as I recall.

> Also during the boot for the install, is there a script I could edit, or 
> a program I coudl wrap with a script so I can see what options are 
> actually being looked up, and when?
> 

/sbin/dhcpinfo is what's used to look things up - I don't believe 
anything actually uses the underlying libraries directly, so you could 
probably wrap that and get what you're looking for.

Dave

Reply via email to