Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jeff C on March 23, 2002, 06:38:55 PM
-
Can anyone point me to a howto for setting up SME 5.1.2 dhcp options?
I would like to be able to supply, WINS and multiple DNS server addresses to my WinX dhcp clients.
example:
WINS - 192.168.xxx.xxx
DNS1 - 192.168.xxx.xxx
DNS2 - 207.xxx.xxx.xxx
DNS3 - 175.xxx.xxx.xxx
Thanks,
-jeff
-
Hi Jeff,
How about making a custom template for dhcpd.conf and edit this template to fir your needs.
Don't forget to restart dhcpd :-)
Regards,
guestHH
-
Great idea HF, only I'm a little lost as to where to start. Any docs available on dhcp.conf?
-jeff
-
Hi Jeff,
Mini How-To:
1. Make a custom template of dhcp.conf:
mkdir -p /etc/e-smith/templates-custom/etc/dhcpd.conf
2. Copy the fragments of /etc/e-smith/templates/etc/dhcpd.conf
to the new custom template
2. Change the custom template fragments to fit your needs
3. Save your changes as root:
/sbin/e-smith/expand-template /etc/dhcpd.conf
4. Restart dhcpd
Done.
Regards,
guestHH
-
As always...U da man!
Many thanks - jeff
-
I did steps 1 and 2, but when I opened the fragment for 25NetbiosNameServers there was alot of stuff in there that I have not seen before. I thought since it was based on Red Hat, I could just enter the option netbios-name-servers 192.168.xxx.xxx;
Can I do that? Can I just erase everthing in that fragment, save it, expand and restart dhcpd?
If not, where can I put in the server IP? next to else on the bottom?
Thanks.