Once we installed the DHCPD rpm, it took about five minutes of fiddling to
get it up.  Here's a sample /etc/dhcpd.conf file (for our own masq'd
network of Win95 workstations; the server is 192.168.0.1 and the other
machines are using IPs in the 192.168.0.x range...)

[crank@sprawl /tmp]$ cat /etc/dhcpd.conf
#dhcpd.conf
server-identifier sprawl.jnst.uor.edu;
option domain-name "jnst.uor.edu";
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.10 192.168.0.150;
  option broadcast-address 192.168.0.255;
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1; #sprawl being our server AND router;
  default-lease-time 600;
  max-lease-time 7200;
}
# EOF

Fairly simple.



   Chris. | [EMAIL PROTECTED] | http://ebhon.jnst.uor.edu/Users/crank

             Give me life, give me pain, give me myself again  
                                                        - tori amos



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to