Página 1 de 3 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    garupeiro
    Estou tentando configura o meu dhcp mas nao to tento sucesso: segue abaixo as informações dos meus arquivos:
    Meu ip: 192.168.14.21
    minha mascara de rede: 255.255.255.128
    gateway 192.168.14.1

    segue agora o arquivo dhcpd.conf
    ddns-update-style none;
    ignore client-updates;

    subnet 192.168.1.0 netmask 255.255.255.0 {

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

    option nis-domain "domain.org";
    option domain-name "servidor.com.br";
    option domain-name-servers 127.0.0.1;

    option time-offset -18000; # Eastern Standard Time
    # option ntp-servers 192.168.1.1;
    # option netbios-name-servers 192.168.1.1;
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    # -- you understand Netbios very well
    # option netbios-node-type 2;

    range dynamic-bootp 192.168.1.11 192.168.0.20;
    default-lease-time 21600;
    max-lease-time 43200;
    "/etc/dhcpd.conf" 31L, 850C 21,2-9
    Agora a mensagem de erro que da ao tentar iniciar o dhcp


    Iniciando dhcpd: Internet Systems Consortium DHCP Server V3.0.1
    Copyright 2004 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    Address range 192.168.1.11 to 192.168.0.20, netmask 255.255.255.0 spans multiple subnets!

    If you did not get this software from ftp.isc.org, please
    get the latest from ftp.isc.org and install that before
    requesting help.

    If you did get this software from ftp.isc.org and have not
    yet read the README, please read it before requesting help.
    If you intend to request help from the dhcp-server@isc.org
    mailing list, please read the section on the README about
    submitting bug reports and requests for help.

    Please do not under any circumstances send requests for
    help directly to the authors of this software - please
    send them to the appropriate mailing list as described in
    the README file.

    exiting.
    FALHOU
    ficarei muito grato se alguem poder me ajudar!!!

  2. essa ta facil arruamar
    vc ta querendo definir o range de uma subnet mas esta especificando duas : 192.168.1.11 to 192.168.0.20

    vc tem q separar isso asssim:

    subnet 192.168.1.0 netmask 255.255.255.0{

    range 192.168.1.11 192.168.1.254
    blabla
    blabla
    }

    subnet 192.168.0.0 netmask 255.255.255.0{
    range 192.168.0.20 blablaa
    blabla
    }

    ou vc soh tinha digitado errado o range e queria de 192.168.1.11 ateh 192.168.1.20?



  3. #3
    garupeiro
    Continuo Dando o mesmo erro:
    o esquema aki esta assim to pegando o sinal pela wlan0 e to querendo que a placa de rede comece a servir ips, via dhcp, so que ainda nao tem nada plugado na eth0 e eu desabilitei ela na iniciação sera que isso ta implicando em algo?

    dhcpd.conf
    ddns-update-style none;
    ignore client-updates;

    subnet 192.168.1.0 netmask 255.255.255.0 {

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

    option nis-domain "domain.org";
    option domain-name "servidor.com.br";
    option domain-name-servers 127.0.0.1;

    option time-offset -18000; # Eastern Standard Time
    # option ntp-servers 192.168.1.1;
    # option netbios-name-servers 192.168.1.1;
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    # -- you understand Netbios very well
    # option netbios-node-type 2;

    range dynamic-bootp 192.168.1.11 192.168.0.254;
    default-lease-time 21600;
    max-lease-time 43200;

    # we want the nameserver to appear at a fixed address
    host ns {
    next-server marvin.redhat.com;
    hardware ethernet 12:34:56:78:AB:CD;
    fixed-address 207.175.42.254;
    }
    }
    A mensagem apos tentar carregar o DHCP
    Iniciando dhcpd: Internet Systems Consortium DHCP Server V3.0.1
    Copyright 2004 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    Address range 192.168.1.11 to 192.168.0.254, netmask 255.255.255.0 spans multiple subnets!

    If you did not get this software from ftp.isc.org, please
    get the latest from ftp.isc.org and install that before
    requesting help.

    If you did get this software from ftp.isc.org and have not
    yet read the README, please read it before requesting help.
    If you intend to request help from the dhcp-server@isc.org
    mailing list, please read the section on the README about
    submitting bug reports and requests for help.

    Please do not under any circumstances send requests for
    help directly to the authors of this software - please
    send them to the appropriate mailing list as described in
    the README file.

    exiting.
    FALHOU
    Valeu Ice pela ajuda so que ainda nao funciono :toim:

  4. cara vc ainda nao separou as redes!

    vc tem q ter 2 entradas

    subnet xxxxxx{
    }

    subnet xxxxx{
    }

    uma pra 192.168.0.0 e outra pra 192.168.1.0
    se colocar as duas juntas nao vai funcionar

    olha ai no teu conf:
    range dynamic-bootp 192.168.1.11 192.168.0.254;

    da tudo numa subnet soh



  5. Teu range ta errado ... coloca ele na mesma rede de 192.168.1.11 até 192.168.1.254 falow !!!!!!!!






Tópicos Similares

  1. Configuração mais doida que ja vi no dhcpd.conf
    Por fisiconuclear18 no fórum Servidores de Rede
    Respostas: 4
    Último Post: 14-01-2006, 20:53
  2. ativar o dhcpd.conf
    Por tomelin no fórum Servidores de Rede
    Respostas: 13
    Último Post: 03-01-2006, 18:59
  3. .: Wins no DHCPD.CONF :.
    Por no fórum Servidores de Rede
    Respostas: 10
    Último Post: 24-06-2005, 09:49
  4. dhcpd.conf
    Por wilkson no fórum Servidores de Rede
    Respostas: 8
    Último Post: 22-04-2005, 15:54
  5. dhcpd.conf
    Por Felipe_ no fórum Servidores de Rede
    Respostas: 4
    Último Post: 16-07-2004, 09:40

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L