Abdullah Al-Molah <[EMAIL PROTECTED]> wrote:
> Anyone got any ideas on how to configure DHCPCD to work in redhat 5.0
> running kernel 2.1.102?, I successfully installed the latest 2.X version of
> the deamon, read it's docs, but, it wasn't very clear on how to get it to
> work!, any help will be greatly appreciated :)

I've got it running. It seems quite straightforward, the worst part is writing
that wretched configuration file. (I ended up writing a file that listed the
MAC, IP, machine name, etc., and then wrote scripts to create the dhcpd, dns,
and reverse-dns files from that input file).

In a basic form the file /etc/dhcpd.conf could look something like this:

        #
        # dhcpd.conf :: dhcp server configuration file
        #

        server-identifier       name.of.your.server;

        subnet XXX.XXX.XXX.XXX netmask 255.255.0.0 {

                group {
                        option domian-name "your.domain";

                        max-lease-time 60;
                        default-lease-time 60;
                        boot-unknown-clients false;

                        # Linux computer in room 251
                        host tux.your.domain {
                                hardware ethernet 4a:b4:33:23:01:fa;
                                fixed-address XXX.XXX.XXX.XXX;

                        # NT computer in room 494
                        host bsod.your.domain {
                                hardware ethernet 4a:b4:34:23:e8:fa;
                                fixed-address XXX.XXX.XXX.XXX;

                        }
                }
        }


Then install dhcpd into the appropriate runlevel(s) (you can use the runlevel
editor of the control panel) and you're off to the races. There are many
different options you can place in the /etc/dhcpd.conf file, see the man pages
for more information.

-- 
Chris Tyler                       <[EMAIL PROTECTED]>
Global Proximity Corporation      http://Global.Proximity.ON.CA/
Internet and Computer Consulting  (519) 469-3439 / fax (519) 469-8653


-- 
  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.

  • DhcpcD! Abdullah Al-Molah
    • Chris Tyler

Reply via email to