*** From dhcp-client -- To unsubscribe, see the end of this message. ***

Wee-Meng LEE wrote:
> 
>     *** From dhcp-client -- To unsubscribe, see the end of this message. ***
> 
> Hello,
> 
> I'm looking for a dhcp client program that just sends a broadcast
> and queries for all available DHCP servers.  The results are then
> output to stdout.
> 
> We're running DHCP at our site and from time to time some user
> turns on the DHCP server option in a WinNT server without
> configuring it properly.  This causes the DHCP service to fail in
> the entire subnet.
> 
> I'm thinking of running this program periodically every half hour
> so that should an bogus DHCP server starts up, I will be
> notified.  Before the users are affected.

        Maybe try a packet sniffer to watch port 67(?) and use grep to pull all
MAC addresses of dhcp offers?  Then you could do a compare with a small
list and see what doesn't match the MACs of known DHCP servers.  Once
that's done, it'd be easy enough to email yourself or something to that
effect.  There's probably an easier way to do it, but this is the best
way I could think of off hand.

 
> I can dabble a little in C but I'm not familiar with programming.
> I did have a look at the source for dhclient.c but I found it too
> complicating.
> 
> Thanks in advance.  In the mean time, still trying to figure out
> what's happenning in dhclient.c
> 
> weemeng
> 
> --
> [EMAIL PROTECTED]  Tel:+65 374-7820
> 
> 

Good luck!
        Diamon


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

Reply via email to