Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-05-2010, 04:21 PM
|
#1
|
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052
Rep:
|
when would I need to use dhcp...
My gateway/router is my dhcp server. Therefore, that should mean that all my linux computers within my home network should have dhcpd turned off? I just have confusion in this area.
|
|
|
01-05-2010, 04:25 PM
|
#2
|
Member
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208
Rep:
|
dhcpd is the Linux dhcp server daemon. More than one dhcp server on a network is generally a bad thing. If your router is already acting as a dhcp server, you would want to disable that service on your linux machine to make sure they do not fight each other.
|
|
|
01-05-2010, 04:29 PM
|
#3
|
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052
Original Poster
Rep:
|
is there only a dhcp server? or does linux also have dhcp client programs that utilize the dhcp server? Or does the dhcp server do it all?
|
|
|
01-05-2010, 04:40 PM
|
#4
|
Member
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208
Rep:
|
I believe that dhcpd is ONLY a server. There are other programs that run to get an address from a server. One of them is dhcpcd. I'm not sure what all distros use.
|
|
|
01-05-2010, 04:51 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
is there only a dhcp server? or does linux also have dhcp client programs that utilize the dhcp server? Or does the dhcp server do it all?
|
No, the server won't FORCE dhcp leases on machines, it
offers them. Clients can choose to use them, or go with
static addresses. Things can get confusing though if the
server hands out IPs that it thinks are free and a client
uses it hard-coded.
Cheers,
Tink
Last edited by Tinkster; 01-05-2010 at 04:52 PM.
|
|
|
01-05-2010, 05:11 PM
|
#6
|
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052
Original Poster
Rep:
|
So each machine does have a dhcp client?
|
|
|
01-05-2010, 05:12 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
It should ... there's three common clients.
dhcpcd
dhclient
pump
|
|
|
All times are GMT -5. The time now is 04:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|