Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. Ola pessoal, queria saber se alguem ja configurou um servidor DHCP com varias faixas de ip tipo, aki pra kda cliente eu uso uma faixa de ip com mascara 252 as vezes uso 248, 240 depende muito de quantos ip o cliente va utilizar.
    pra isso queria deixar o dhcp server atribuindo ip pelo mac e limitar a mascara.
    desde ja grato

  2. # dhcpd.conf
    #
    # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
    #

    default-lease-time 86400;
    max-lease-time 864000;
    ddns-update-style none;
    option domain-name "myauth.com.br";
    option domain-name-servers 10.10.10.254, 200.209.105.253;
    option netbios-node-type 1;
    option netbios-scope "";
    log-facility local7;

    shared-network Redelocal {

    subnet 10.0.0.0 netmask 255.255.255.0 {
    option broadcast-address 10.0.0.23;
    option routers 10.0.0.1;
    host cliente1 {
    hardware ethernet 00:a0:bc:de:f0:12;
    fixed-address 10.0.0.45;
    }
    }

    subnet 10.0.1.0 netmask 255.255.255.0 {
    option broadcast-address 10.0.1.255;
    option routers 10.0.1.1;
    host cliente2 {
    hardware ethernet 00:b0:cd:ef:01:23;
    fixed-address 10.0.1.22;
    }
    }

    }



  3. Ola so, fiz assim pra realizar um teste:
    Código :
    # dhcpd.conf
    #
    # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
    #
    default-lease-time 86400;
    max-lease-time 864000;
    ddns-update-style none;
    option domain-name "meu_dominio.net";
    option domain-name-servers 189.23.***.**4, 189.23.***.**5;
    option netbios-node-type 1;
    option netbios-scope "";
    log-facility local7;
    shared-network Redelocal {
    subnet 193.168.1.0 netmask 255.255.255.252 {
    option broadcast-address 193.168.1.3;
    option routers 193.168.1.1;
    host cliente1 {
    hardware ethernet 00:15:14:FF:E4:1C;
    fixed-address 193.168.1.2;
    }
    }
     
    }

    eo seguinte erro aparece quando do um dhcpd :
    Código :
    root@servidor:/etc# dhcpd
    Internet Systems Consortium DHCP Server V3.0.4
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit [URL="http://www.isc.org/sw/dhcp/"]ISC DHCP[/URL]
    Wrote 0 deleted host decls to leases file.
    Wrote 0 new dynamic host decls to leases file.
    Wrote 0 leases to leases file.
    No subnet declaration for eth1 (10.0.0.1).
    ** Ignoring requests on eth1.  If this is not what
       you want, please write a subnet declaration
       in your dhcpd.conf file for the network segment
       to which interface eth1 is attached. **
     
    No subnet declaration for eth0 (189.23.***.**4).
    ** Ignoring requests on eth0.  If this is not what
       you want, please write a subnet declaration
       in your dhcpd.conf file for the network segment
       to which interface eth0 is attached. **
     
    Not configured to listen on any interfaces!
    If you did not get this software from [URL="ftp://ftp.isc.org"]ftp.isc.org[/URL], please
    get the latest from [URL="ftp://ftp.isc.org"]ftp.isc.org[/URL] and install that before
    requesting help.
    If you did get this software from [URL="ftp://ftp.isc.org"]ftp.isc.org[/URL] and have not
    yet read the README, please read it before requesting help.
    If you intend to request help from the [EMAIL="dhcp-server@isc.org"]dhcp-server@isc.org[/EMAIL]
    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.
    root@servidor:/etc#
    Alguma fica?

  4. os ips que vc colocou no arquivo de configuracao estao certos? qual a versao do server dhcp que voce esta usando e qual distro?



  5. cabra estou usando o Slackware 11 eo DHCPD e av er. 3
    veja so como esta agora meu dhcpd.conf
    Código :
    # dhcpd.conf
    #
    # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
    #
    authoritative;
    default-lease-time 86400;
    max-lease-time 864000;
    ddns-update-style none;
    option domain-name "myauth.com.br";
    option domain-name-servers 10.10.10.254, 200.209.105.253;
    option netbios-node-type 1;
    option netbios-scope "";
    log-facility local7;
     
    shared-network teste {
    subnet 10.0.0.0 netmask 255.255.255.0 {
    option broadcast-address 10.0.0.255;
    option routers 10.0.0.1;
     
    host cliente1 {
    hardware ethernet 00:15:14:ff:e4:1c ;
    fixed-address 10.0.0.133;
    }
    }
    }

    aki esta a msg dos log
    Código :
    Oct 22 13:17:26 servidor dhcpd: Internet Systems Consortium DHCP Server V3.0.4
    Oct 22 13:17:26 servidor dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Oct 22 13:17:26 servidor dhcpd: All rights reserved.
    Oct 22 13:17:26 servidor dhcpd: For info, please visit [url=http://www.isc.org/sw/dhcp/]ISC DHCP[/url]
    Oct 22 13:17:26 servidor dhcpd: Internet Systems Consortium DHCP Server V3.0.4
    Oct 22 13:17:26 servidor dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Oct 22 13:17:26 servidor dhcpd: All rights reserved.
    Oct 22 13:17:26 servidor dhcpd: For info, please visit [url=http://www.isc.org/sw/dhcp/]ISC DHCP[/url]
    Oct 22 13:17:26 servidor dhcpd: Wrote 0 deleted host decls to leases file.
    Oct 22 13:17:26 servidor dhcpd: Wrote 0 new dynamic host decls to leases file.
    Oct 22 13:17:26 servidor dhcpd: Wrote 0 leases to leases file.
    Oct 22 13:17:26 servidor dhcpd: Listening on Socket/eth1/teste
    Oct 22 13:17:26 servidor dhcpd: Sending on   Socket/eth1/teste

    o pc não recebe o ip do DHCP






Tópicos Similares

  1. HotSpot com uma Faixa de IP
    Por leocoleraus no fórum Redes
    Respostas: 3
    Último Post: 01-07-2016, 13:54
  2. Respostas: 6
    Último Post: 11-08-2015, 07:38
  3. Respostas: 4
    Último Post: 27-04-2013, 06:57
  4. Rede com getway em outra faixa de ip
    Por Daniels no fórum Sistemas Operacionais
    Respostas: 0
    Último Post: 13-06-2006, 09:28
  5. DHCP com 2 ranges de IPS
    Por cleciorodrigo no fórum Servidores de Rede
    Respostas: 2
    Último Post: 19-02-2006, 14:50

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L