dhcp-3.0PL1-23 (DHCPD)

Support

Tested on 23 May 2003 on Red Hat9

Description

dhcpd - Dynamic Host Configuration Protocol Server

The Internet Software Consortium DHCP Server, dhcpd, implements the Dynamic Host Configuration Protocol (DHCP). DHCP allows hosts on a TCP/IP network to request and be assigned IP addresses, and also to discover information about the network to which they are attached.

Configure

  1. Install DHCP from Red Hat CD

    # rpm -ihv dhcp-3.0PL1-23.i386.rpm

  2. Copy a configuration file

    # cp /usr/share/doc/dhcp-3.0pl1/dhcpd.conf.sample /etc/dhcpd.conf

  3. Edit /etc/dhcpd.conf

    ddns-update-style interim;
    ignore client-updates;

    subnet 192.168.0.0 netmask 255.255.255.0 {

    # --- default gateway
            option routers                  192.168.0.1;
            option subnet-mask              255.255.255.0;

            option nis-domain               "domain.org";
            option domain-name              "domain.org";
            option domain-name-servers      192.168.0.1;

    # Eastern Standard Time GMT -05:00 = -5x60x60 = -18000
    #        option time-offset              -18000; 
    # Eastern Standard Time GMT +06:00 =  6x60x60 =  21600
            option time-offset              21600; 
           option ntp-servers              192.168.0.1;
           option netbios-name-servers     192.168.0.2;
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    #       option netbios-node-type 2;

            range dynamic-bootp 192.168.0.128 192.168.0.255;
            default-lease-time 21600;
            max-lease-time 43200;

            # we want the nameserver to appear at a fixed address
            host ns {
                    next-server ns.domain.org;
                    hardware ethernet 12:34:56:78:AB:CD;
                    fixed-address 192.168.0.3;
            }
    }

  4. Start the service

    # /etc/rc.d/init.d/dhcpd start

  5. Run DHCPD as a service when it restarted. (ntsysv or redhat-config-services also ok)

    # chkconfig dhcpd on

Setup client

Back

Copyright © [- SroNey / JohN -]. All rights reserved

Hosted by www.Geocities.ws

1