El mar, 01-04-2014 a las 13:32 -0400, gutl-l-requ...@jovenclub.cu
escribió:
> Message: 5
> Date: Mon, 31 Mar 2014 10:18:00 -0400
> From: Rafael Pérez Saborit<panamaj...@grannet.grm.sld.cu>
> To:"gutl-l@jovenclub.cu"  <gutl-l@jovenclub.cu>
> Subject: [Gutl-l] Problema con dhcp
> Message-ID:<53397918.7050...@grannet.grm.sld.cu>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Saludos alguien me puede hechar un vistaso a la salida de tail -f
> /var/log/syslog:
> 
> */Mar 31 17:10:56 srvdiskless dhcpd: WARNING: Host declarations are
> global.  They are not limited to the scope you declared them in.
> Mar 31 17:10:58 srvdiskless dhcpd: WARNING: Host declarations are
> global.  They are not limited to the scope you declared them in.
> Mar 31 17:10:58 srvdiskless dhcpd: WARNING: Host declarations are
> global.  They are not limited to the scope you declared them in.
> Mar 31 17:10:58 srvdiskless dhcpd: Wrote 0 deleted host decls to
> leases
> file.
> Mar 31 17:10:58 srvdiskless dhcpd: Wrote 0 new dynamic host decls to
> leases file.
> Mar 31 17:10:58 srvdiskless dhcpd: Wrote 0 leases to leases file./*
> 
> Dígame que error puede haber en el este fichero de dhcpd.conf, pues
> antes lo tenía funcionado con Vblade, pero ahora no me funciona tftp.
> /*ddns-update-style interim;
> ignore client-updates;
> shared-network redLocal{
>    subnet 192.168.1.0 netmask 255.255.255.0 {
>     option routers 192.168.1.1;
>     option broadcast-address 192.168.1.30;
>     option domain-name "pgmb.grm.sld.cu";
>     option domain-name-servers 201.220.222.131;
>    }
> host iformatica1{
>     hardware ethernet 70:71:bc:56:f4:8c;
>     fixed-address 192.168.1.2;
> }
> host iformatica2{
>     hardware ethernet 00:21:70:bb:48:78;
>     fixed-address 192.168.1.3;
> }
> host director{
>     hardware ethernet 00:1e:8C:12:45:de;
>     fixed-address 192.168.1.4;
> }
> host secretaria{
>     hardware ethernet 00:19:d1:de:ee:e5;
>     fixed-address 192.168.1.5;
> }
> host igiene{
>     hardware ethernet 00:16:76:C0:0e:85;
>     fixed-address 192.168.1.6;
> }
> host docencia{
>     hardware ethernet 00:24:8c:fe:47:d1;
>     fixed-address 192.168.1.7;
> }
> host cdocente{
>     hardware ethernet 00:1d:60:5a:15:7b;
>     fixed-address 192.168.1.8;
> }
> host farmacia{
>     hardware ethernet 00:19:d1:32:d4:28;
>     fixed-address 192.168.1.9;
> }
> host biblioteca{
>     hardware ethernet 00:26:18:8f:2f:f3;
>     fixed-address 192.168.1.10;
> }
> host estadistica1{
>     hardware ethernet 00:1d:60:b2:67:6c;
>     fixed-address 192.168.1.11;
> }
> host estadistica2{
>     hardware ethernet 00:1c:c0:24:f6:ac;
>     fixed-address 192.168.1.12;
> }
> host genetitca{
>     hardware ethernet 00:00:00:00:00:00;
>     fixed-address 192.168.1.13;
> }
> host laboratorio{
>     hardware ethernet 00:00:00:00:00:00;
>     fixed-address 192.168.1.14;
> }
> host suma{
>     hardware ethernet 00:1c:c0:86:43:21;
>     fixed-address 192.168.1.15;
> }
> ################Clientes Ligeros WindowsXP##################
> host d01 {
>     hardware ethernet 00:1c:c0:25:a2:19;
>     fixed-address 192.168.1.21;
>     next-server 192.168.1.1;
> if exists user-class and option user-class ="gPXE" {
>       filename "";
>       option root-path "aoe:e0.1";
>       } else {
>       filename "gpxe-1.0.1-undionly.kpxe";
>       }
> }
> host d02 {
>     hardware ethernet 00:19:d1:e0:5b:17;
>     fixed-address 192.168.1.22;
>     next-server 192.168.1.1;
> if exists user-class and option user-class ="gPXE" {
>       filename "";
>       option root-path "aoe:e0.2";
>       } else {
>       filename "gpxe-1.0.1-undionly.kpxe";
>       }
> }
> host d03 {
>     hardware ethernet 00:19:d1:9f:eb:7e;
>     fixed-address 192.168.1.23;
>     next-server 192.168.1.1;
> if exists user-class and option user-class ="gPXE" {
>       filename "";
>       option root-path "aoe:e0.3";
>       } else {
>       filename "gpxe-1.0.1-undionly.kpxe";
>       }
> }
> host d04 {
>     hardware ethernet 00:19:d1:e0:15:16;
>     fixed-address 192.168.1.24;
>     next-server 192.168.1.1;
> if exists user-class and option user-class ="gPXE" {
>       filename "";
>       option root-path "aoe:e0.4";
>       } else {
>       filename "gpxe-1.0.1-undionly.kpxe";
>       }
> } */ 

Intenta con esta configuración, solo debes cambiar algunos parámetros.

# Configuración del Servidor DHCP
allow bootp;
allow booting;

#  Definición de las opciones comunes para todo el soporte de la red.
option domain-name "pgmb.grm.sld.cu";
option domain-name-servers server.pgmb.grm.sld.cu; # Esto puedes
cambiarlo por el IP del Servidor.
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.254;

default-lease-time 600;
max-lease-time 7200;

# Si este servidor DHCP es el oficial  para la red local, la directiva
de autorización
# puede ser descomentareada.
authoritative;

# Declaración de una subred.
subset 192.168.1.0 netmask 255.255.255.0 {
        range IP-INICIO IP-FIN;}

# Grupo de anfitriones para el boteo utilizando PXE.
group {
        # Directivas para la configuración específicas del PXE.
        use-host-decl-names on;
next-server IP-SERVER;
filename "/var/lib/tftpboot/Ubuntu/pxelinux.0";
host cliente1 {
hardware ethernet MAC-CLIENTE;
fixed-address 192.168.1.13;}
}

-- 
                         "Que Dios te Bendiga" 
                     Ing. Leonardo E. Reyna Castro

                           Analista de Datos

             Oficina Nacional de Administración Tributaria

                            Provincia Granma

                       email: l...@grm.onat.gob.cu

                           Teléfono: 42-4292
                                     44-2859


-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est� limpio.

______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Reply via email to