[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DHCP working but not assigning clients names.

On Mon, 2004-06-07 at 14:03, Chadley Wilson wrote:
> Hi Guys,
> I have got a serious mental block in understanding how to make this
> work.
> I have DHCP Server serving an adress pool of - 254.
> The server is working. But it doesn't give the PCs connecting a
> hostname. This is very irritating when doing an NFS installation.
> Do I use the dhcp-client config or must I set up a DNS or NIS, U C I
> haven't a clue what to do.
> I thought that a dns server would be outrageous because the network is
> not on the internet it is basically less than computers.
> help please

I'm attaching the dhcpd.conf I'm using to teach RHCE class this week,
all you need to do is edit to taste.

Chris Kloiber <ckloiber ckloiber com>
# Generated by redhcpd
ddns-update-style none;
subnet netmask {
	option routers;
	option subnet-mask;
	option domain-name "example.com"; 
	option domain-name-servers;
	option ntp-servers;
	default-lease-time 21600;
	max-lease-time 43200;


	filename "/kickstart/workstation.cfg";
	next-server server1.example.com;

	host station1.example.com {
		hardware ethernet 00:50:8D:48:59:FD;
	host station3.example.com {
		hardware ethernet 00:50:8D:47:AA:D5;
	host station2.example.com {
		hardware ethernet 00:50:8D:48:D5:7B;
	host station4.example.com {
		hardware ethernet 00:50:8D:48:5D:4C;
	host station5.example.com {
		hardware ethernet 00:50:8D:48:D2:F0;
	host touche.ckloiber.com {
		hardware ethernet 00:03:25:0D:A8;5C;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]