Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCP combined server&client

Reply
Thread Tools Display Modes

DHCP combined server&client

 
 
Stefan Monnier
Guest
Posts: n/a

 
      11-15-2007, 09:14 PM

Is there such a thing as a combined DHCP client&server?

Most of my machines use DHCP to get their IP address and it occurred to
me that when I connect two of them together it would be nice if one of
the two would automatically turn into a DHCP server.

Basically, the client&server daemon would try work as a DHCP client,
trying to connect to some other DHCP server and if that connection
fails, it would start to accept DHCP requests (i.e. keep looking for
some other DHCP server, but as long as none are found be willing to
reply to DHCP queries passing by on the network).


Stefan
 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      11-16-2007, 06:44 PM
On Thu, 15 Nov 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <jwvwssjqhx6.fsf-monnier+(E-Mail Removed)>,
Stefan Monnier wrote:

>Is there such a thing as a combined DHCP client&server?
>
>Most of my machines use DHCP to get their IP address and it occurred
>to me that when I connect two of them together it would be nice if one
>of the two would automatically turn into a DHCP server.


That's what 'Link-Local' or 'ZeroConf' is for.

3927 Dynamic Configuration of IPv4 Link-Local Addresses. S. Cheshire,
B. Aboba, E. Guttman. May 2005. (Format: TXT=83102 bytes) (Status:
PROPOSED STANDARD)

>Basically, the client&server daemon would try work as a DHCP client,
>trying to connect to some other DHCP server and if that connection
>fails, it would start to accept DHCP requests (i.e. keep looking for
>some other DHCP server, but as long as none are found be willing to
>reply to DHCP queries passing by on the network).


The whole idea of ZeroConf is that if there is no DHCP server that
will grant an IP, the computer reaches up between it's legs and grabs
a random address out of the range 169.254.x.x (there is a functional
equivalent for IPv6 in the range FE80::xxxx:xxxx).

If you think about it, the client&server has no idea what IPs might be
in use. If it's going to allocate addresses out of a routable range
(see RFC3330), why not simply configure the thing statically and not
worry about grabbing some random address?

Old guy
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP client still looks for the failed dhcp server for renewal frankcvc Windows Networking 1 11-05-2006 06:30 PM
Using DHCP Client to get a POP server Gops Linux Networking 12 01-06-2006 06:05 AM
DHCP combined with MySQL Johann Glaser Linux Networking 4 08-12-2005 01:48 PM
Redhat 9.0 dhcp client & windows 2003 dhcp server: dynamic dns update Mads Ravn Linux Networking 0 06-29-2004 05:27 PM
DHCP server and client Ravi Windows Networking 1 12-08-2003 10:07 AM



1 2 3 4 5 6 7 8 9 10 11