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

Notices

Reply
 
Search this Thread
Old 09-30-2003, 03:34 PM   #1
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
DHCP client and server ??


Hi everyone,

I want to learn DHCP server configuration but I have only one m/c to use as both DHCP server and client. My m/c is on internet via a router. At present this gets its network information from DHCP server running on router.

Now I want to run my own DHCP server on my linux m/c and have my DHCP client use this? How can I tell my DHCP client to talk to my own DHCP server rather than one on router?

Any help will be greatly appreciated.

Thanks & Regards,
Deepika
 
Old 09-30-2003, 05:05 PM   #2
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
you have to disable the dhcp on your router
 
Old 09-30-2003, 09:55 PM   #3
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Original Poster
Rep: Reputation: 15
yeah, that works well in getting IP address and default router. Thanks.

But I see no change in my /etc/resolv.conf file still. I mean even after having
option domain-name "deepika.com";
option domain-name-servers 24.46.176.178;

in my /etc/dhcpd.conf file 24.46.176.178 doesn't appear in /etc/resolv.conf.
What could be the reason?

And what about other m/c in my LAN? Will they also use the same DHCP server?

PLease help.
Thanks,
Deepika
 
Old 10-01-2003, 01:20 AM   #4
ongxanga
Member
 
Registered: Sep 2003
Posts: 31

Rep: Reputation: 15
Your other m/c? which os its installed. I assumed that this machine is getting ip from you router-dhcp. So that mean its can get ip from your linux-dhcp server.

BEn,
 
  


Reply


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 server and client trebek Linux - Networking 3 07-25-2005 03:53 AM
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
how can a DHCP client get the DHCP server IP? AshesOfTime Linux - Networking 3 11-24-2004 06:50 AM
DHCP Server/CLient brinkster Linux - Networking 3 11-19-2004 12:29 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM


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

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