Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-20-2004, 03:22 PM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
DHCP.. How does it work ?

im contemplating some pretty exoctic network topology's.
and i just realsied i have no idea how DHCP works....

okay... there is a DHCP server, which has a static IP address.
then DHCP clients communicate with that DHCP server with UDP protocol.
the DHCP server provides parameters like DNS servers, and an ip address to the dhcp client.

but what i dont understand, is how the DHCP server contacts the DHCP client...
before the DHCP server responds to a DHCP client, the client does not have an IP address.

i thought maybe the device would have a default IP address which it uses untill the DHCP assigns it a permenant one... but if that were true, the system would fail if 2 DHCP clients queried a DHCP server at the same time...

how does it work ?
Old 07-20-2004, 03:30 PM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

The DHCP protocol doesn't use IP addresses. It uses the MAC address of the client network interface instead.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Won't Work Damien295x Linux - Networking 1 10-27-2005 05:40 AM
DHCP: Some distros work, some don't? vredfreak Linux - Networking 13 08-08-2005 12:45 AM
Mandrake 9.1 dhcp does not work GeezerGeek Linux - Networking 3 02-11-2004 12:53 PM
why doesn't dhcp work in this case? josejcs Linux - Newbie 1 11-10-2003 07:42 AM
Getting DHCP to work with PCMCIA wilson2703 Linux - Networking 1 10-31-2003 01:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration