DHCP Help

Robert G. Brown rgb at phy.duke.edu
Mon Apr 1 05:27:43 PST 2002


On Sat, 30 Mar 2002, Adrian Garcia Garcia wrote:
> Hello everybody, I'm a beginner and I have been having problems with my
> dhcp server, I cant assign the ip's to the clients, I dont know exactly
> if the server is not working or the client. I am working with Red Hat 7.1
> and my dhcp client is dhcpcd because I tried with pump but It was not
> work. Please, Please, can anybody give some halp, what can I do???? Sorry
> for my poor english, In fact I speak spanish. Pleas help. Thanks a lot.
> 
> ________________________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail. Click Here
> _______________________________________________ Beowulf mailing list,
> Beowulf at beowulf.org To change your subscription (digest mode or
> unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> 

Sr Garcia,

Por favor, encuentre un ejemplo de mi configuracion que yo uso a mi casa
por mi beowulf privada.  Esto es por dhcpd, en /etc/dhcpd.conf, y es por
una red interna privada con IP numeros 192.168.  Nota bien los tres
secciones.  Esto funciona bien por computadores que boot en Windows o
Linux o otro con clientes dhcp -- algunos de mi computadores a casa boot
ambos.  Nota tambien los direcciones:

        range 192.168.1.192 192.168.1.224;

solamente estos estan usado para computadores no conocido por el
servidor con numeros ethernet registrado y direcciones staticos.

Espero que esto se ayuda on poquito.  Y desculpame de mi Espanol malo;
es (estoy seguro) peor que su Ingles, pero yo necesito la practica.

   rgb

##############################################################################
#
# /etc/dhcpd.conf - configuration file for our DHCP/BOOTP server
#

###########################################################
# Global Parameters
###########################################################

option domain-name              "rgb.private.net";
option domain-name-servers      152.3.250.1;
option subnet-mask              255.255.255.0;
option broadcast-address        192.168.1.255;
use-host-decl-names on;

###########################################################
# Subnets
###########################################################
shared-network RGB {
  subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.192 192.168.1.224;
        default-lease-time              43200;
        max-lease-time                  86400;
        option routers                  192.168.1.1;
        option domain-name              "rgb.private.net";
        option domain-name-servers      152.3.250.1;
        option broadcast-address        192.168.1.255;
        option subnet-mask              255.255.255.0;
  }

}

###########################################################
# Static IP addresses managed by DHCP server
###########################################################

# Personal Computers (MSDOS/Win-3.x/WfW/Win-95/Win-NT/MacOS)
#host hostname {
#       hardware ethernet xx:xx:xx:xx:xx:xx;
#       fixed-address 152.3.xxx.xxx;
#       option host-name hostname;
#       option routers 152.3.xxx.250;
#}

# UNIX systems
#host hostname {
#       hardware ethernet xx:xx:xx:xx:xx:xx;
#       fixed-address 152.3.xxx.xxx;
#       option host-name hostname;
#       option routers 152.3.xxx.250;
#}


# adam future gateway redux? 300MHz Celeron
host adam {
        hardware ethernet       00:20:18:58:27:1a;
        fixed-address           192.168.1.1;
        next-server             192.168.1.131;
        option domain-name      "rgb.private.net";
        option host-name        "adam";
}

# caine (Linux/Windows workstation)
#  (Linux/Windows workstation)
host tyrial {
        hardware ethernet       00:a0:cc:59:45:9b;
        fixed-address           192.168.1.134;
        next-server             192.168.1.131;
        option routers          192.168.1.1;
        option domain-name      "rgb.private.net";
        option host-name        "tyrial";
}

etc...

   rgb

-- 
Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb at phy.duke.edu






More information about the Beowulf mailing list