LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP client and server ?? (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-client-and-server-98719/)

deepika 09-30-2003 03:34 PM

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

hakcenter 09-30-2003 05:05 PM

you have to disable the dhcp on your router :)

deepika 09-30-2003 09:55 PM

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

ongxanga 10-01-2003 01:20 AM

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,


All times are GMT -5. The time now is 08:53 PM.