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 192.168.100.128 - 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@xxxxxxxxxxxx>
# Generated by redhcpd ddns-update-style none; subnet 192.168.0.0 netmask 255.255.255.0 { option routers 192.168.0.254; option subnet-mask 255.255.255.0; option domain-name "example.com"; option domain-name-servers 192.168.0.254; option ntp-servers 192.168.0.254; default-lease-time 21600; max-lease-time 43200; range 192.168.0.1 192.168.0.199; filename "/kickstart/workstation.cfg"; next-server server1.example.com; host station1.example.com { hardware ethernet 00:50:8D:48:59:FD; fixed-address 192.168.0.1; } host station3.example.com { hardware ethernet 00:50:8D:47:AA:D5; fixed-address 192.168.0.3; } host station2.example.com { hardware ethernet 00:50:8D:48:D5:7B; fixed-address 192.168.0.2; } host station4.example.com { hardware ethernet 00:50:8D:48:5D:4C; fixed-address 192.168.0.4; } host station5.example.com { hardware ethernet 00:50:8D:48:D2:F0; fixed-address 192.168.0.5; } host touche.ckloiber.com { hardware ethernet 00:03:25:0D:A8;5C; fixed-address 192.168.0.199; } }