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 |
you have to disable the dhcp on your router :)
|
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 |
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. |