dhcpd on cygwin/XP2

fhcom at club-internet.fr fhcom at club-internet.fr
Sat Jul 8 07:20:49 UTC 2006


I achieved to work my dhcpd server under cygwin/XP SP2.
I change eth1 to eth0.
my command line is:
./dhcpd -lf <leases file> -cd <dhcpd.conf file> eth0

My client dynamically received is ip adress.

bye

fhcom
----Message d'origine----
>Date: Fri, 7 Jul 2006 15:26:59 +0100
>A: dhcp-users at isc.org
>De: Simon Hobson <dhcp1 at thehobsons.co.uk>
>Sujet: Re: dhcpd on cygwin/XP2
>
>fhcom at club-internet.fr wrote:
>
>>Following your instructions to install dhcp-3.01rc11-cygwin.path, I hav= e
>>now a dhcpd server in my computer XP/SP2.
>>
>>
>>
>>When I execute this command line under a cygwin window:
>>
>>./dhcpd -d eth1
>>
>>I get the following log:
>>
>>
>>
>>=24 ./dhcpd -d eth1
>>Internet Software = Consortium DHCP Server V3.0.1rc11
>>Copyright 1995-2003 Internet Software= Consortium.
>>All rights reserved.
>>For info, please visit http://www.isc.org/products/DHCP
>>Wrote 0 leases to leases file.
>>eth1: not found
>
><snip>
>
>>The server does not start.
>>
>>How can i configure eth1?  What does it represent in a windows XP = machine?
>
>
>I am not aware that the server will work on Windows. I gather from 
>discussions some time ago on the list that it actually requires some 
>significant changes to the server code because of the way it needs to 
>handle low-level APIs to the network interfaces - specifically you 
>can NOT just open a socket and lsiten on it.
>
>Someone did say they were working on it, but I don't recall hearing any more.
>
>
>Now, the nature and wording of your question suggests that, without 
>wishing to be rude or unhelpful, you lack the basic skills needed for 
>this situation. On most Unix type boxes, eth1 would be the second 
>ethernet interface - it is unlikely to be called that on Windows, and 
>I've no idea what it would be called in Cygwin. If you only have one 
>interface, then you almost certainly don't need to specify and 
>interface on the command line, so "-d <interface>" is redundant and 
>can be omitted. ifconfig (if present as a command) would tell you 
>what interfaces are configured on the system.
>
>Simon
>
>



More information about the dhcp-users mailing list