[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

servidor dhcp3



hola lista

estoy montando un servidor proxy, que ademas tiene un servidor dhcp, su
configuracion es la siguiente:
####
#TARJETA DE SALIDA
INTERFACES="eth1";

#CONFIGURACION DHCP
option domain-name "vgv.cl";
option domain-name-servers 192.168.10.1;
option subnet-mask 255.255.255.0;
option netbios-name-servers 192.168.10.1;
option routers 192.168.10.1;
default-lease-time 3600;
max-lease-time 7200;


subnet 192.168.10.0 netmask 255.255.255.0{
        #CONFIGURACION GLOBAL
        range 192.168.10.161 192.168.10.200;
        option domain-name-servers 192.168.10.1;
        option subnet-mask 255.255.255.0;
        option routers 192.168.10.1;

        #CONFIGURACION IP FIJAS POR MAC
        #USUARIOS NORMALES
        host pc01{
                hardware ethernet 00:12:e1:00:6f:7d
                fixed-address 192.168.10.101
        }
}
###

el problema empieza cuando quiero agregar mas ip fijas por mac, al
agregar otro host e iniciar dhcp me arroja el siguiente error

/etc/dhcp3/dhcpd.conf line 27: host declarations not allowed here.
        host
        ^

he probado quitandole "host" pero no funciona, e buscado info y tampoco,
en un howto de la red (no tengo el sitio a mano), salia un archivo de
configuracion tal cual como lo tenia yo (con varios host nombre{...}),
pero igual no funciona.

alguna sugerencia de lo que esta pasando?

saludos



-- 
Carlos Albornoz C.
Linux User #360502
http://carlos.deathlock.org
fono: 97864420


Reply to: