Veja bem Rubem, o modem ta ligado em uma placa de rede, e o modem fornece
dhcp, cujo o ip que ele forneceu foi 10.250.253.84, certo? até ai tudo bem, ai
eu fui no interfaces e determinei que o eth0 que é a placa de rede do modem
fosse por dhcp, por causa que o modem fornece seu proprio ip.
Bom, mas agora eu possuo outra placa de rede, no qual essa placa de rede vai
para o swuitch e do swuitch, distribui para a rede, eu tenho uma rede com 60
pc. Bom ai eu fui no interfaces e coloquei no eth1, ip fixo, certo? blz, ai eu
tenho que distribuir ip para a rede, e vai ser distribuido pela eth1 que é
minha rede interna. Ai é a configuração do arquivo dhcpd.conf que eu lhe
mandei, bom até tudo bem, mas quando eu vou iniciar o serviço de rede, blz,
depois o serviço de dhcp, ai fudeu, por que ele dá esse erro que eu também
mandei.
Bom eu acho que agora ficou mais claro. Bom se puder me ajudar eu agradeço.
qualquer coisa estou ai.
Valeu um abraço e até mais.
Eduardo Borim Nunes
>
> Jul 25 09:11:30 localhost dhcpd: No subnet declaration
> for eth0 (10.250.253.84).
> Jul 25 09:11:30 localhost dhcpd: Please write a subnet
> declaration in your dhcpd.conf file for the
> Jul 25 09:11:30 localhost dhcpd: network segment to
> which interface eth0 is attached.
> Jul 25 09:11:30 localhost dhcpd: exiting.
>
> #
> # Sample configuration file for ISC dhcpd for Debian
> #
> # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $
> #
>
> # option definitions common to all supported networks...
> # option domain-name "fugue.com";
> # option domain-name-servers toccata.fugue.com;
>
> option subnet-mask 255.255.255.224;
> default-lease-time 600;
> # max-lease-time 7200;
>
> #subnet 204.254.239.0 netmask 255.255.255.224 {
> # range 204.254.239.10 204.254.239.20;
> # option broadcast-address 204.254.239.31;
> # option routers prelude.fugue.com;
> #}
>
> # The other subnet that shares this physical network
> #subnet 204.254.239.32 netmask 255.255.255.224 {
> # range dynamic-bootp 204.254.239.10 204.254.239.20;
> # option broadcast-address 204.254.239.31;
> # option routers snarg.fugue.com;
> #}
>
> #subnet 192.5.5.0 netmask 255.255.255.224 {
> # range 192.5.5.26 192.5.5.30;
> # option name-servers bb.home.vix.com, gw.home.vix.com;
> # option domain-name "vix.com";
> # option routers 192.5.5.1;
> # option subnet-mask 255.255.255.224;
> # option broadcast-address 192.5.5.31;
> # default-lease-time 600;
> # max-lease-time 7200;
> #}
>
> # Hosts which require special configuration options can be listed in
> # host statements. If no address is specified, the address will be
> # allocated dynamically (if possible), but the host-specific information
> # will still come from the host declaration.
>
> #host passacaglia {
> # hardware ethernet 0:0:c0:5d:bd:95;
> # filename "vmunix.passacaglia";
> # server-name "toccata.fugue.com";
> #}
>
> # Fixed IP addresses can also be specified for hosts. These addresses
> # should not also be listed as being available for dynamic assignment.
> # Hosts for which fixed IP addresses have been specified can boot using
> # BOOTP or DHCP. Hosts for which no fixed address is specified can only
> # be booted with DHCP, unless there is an address range on the subnet
> # to which a BOOTP client is connected which has the dynamic-bootp flag
> # set.
> #host fantasia {
> # hardware ethernet 08:00:07:26:c0:a5;
> # fixed-address fantasia.fugue.com;
> #}
>
> # If a DHCP or BOOTP client is mobile and might be connected to a variety
> # of networks, more than one fixed address for that host can be specified.
> # Hosts can have fixed addresses on some networks, but receive dynamically
> # allocated address on other subnets; in order to support this, a host
> # declaration for that client must be given which does not have a fixed
> # address. If a client should get different parameters depending on
> # what subnet it boots on, host declarations for each such network should
> # be given. Finally, if a domain name is given for a host's fixed address
> # and that domain name evaluates to more than one address, the address
> # corresponding to the network to which the client is attached, if any,
> # will be assigned.
> #host confusia {
> # hardware ethernet 02:03:04:05:06:07;
> # fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
> # filename "vmunix.confusia";
> # server-name "toccata.fugue.com";
> #}
>
> #host confusia {
> # hardware ethernet 02:03:04:05:06:07;
> # fixed-address confusia-3.fugue.com;
> # filename "vmunix.confusia";
> # server-name "snarg.fugue.com";
> #}
>
> #host confusia {
> # hardware ethernet 02:03:04:05:06:07;
> # filename "vmunix.confusia";
> # server-name "bb.home.vix.com";
> #}
>
>
> # DHCP da Rede Interna
> #subnet 10.30.0.0 netmask 255.255.255.0 {
> #range 10.30.0.11 10.30.0.100;
> #option domain-name "fugue.com";
> #option routers 10.30.0.10;
> #option subnet-mask 255.255.255.0;
> #option broadcast-address 10.30.0.101;
> #default-lease-time 600;
> # max-lease-time 7200;
> #}
>
>
> # DHCP da Rede Interna
> subnet 192.168.0.0 netmask 255.255.255.0 {
> range 192.168.0.5 192.168.0.200;
> option domain-name "fugue.com";
> option routers 192.168.0.2;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.0.201;
> default-lease-time 600;
> # max-lease-time 7200;
> }
>
>
> [As partes desta mensagem que não continham texto foram removidas]
>
>
>
> Para acessar nosso arquivo de mensagens: http://www.egroups.com/group/hardbr/
>
> Conheça também nossa Lista sobre Linux e Software Livre, para se cadastrar
> mande um mail para [EMAIL PROTECTED]
>
> Para sair da lista, envie um mail em branco para:
> [EMAIL PROTECTED]
> Links do Yahoo! Grupos
>
>
>
>
>
>
>
>
>
---------------------------------
O Yahoo! está de cara nova. Venha conferir!
[As partes desta mensagem que não continham texto foram removidas]
A lista redewan é mantida e moderada por Gilberto Biasoto.
gbiasoto @ yahoo.com.br
------------------------------------------------
To unsubscribe email to:
[EMAIL PROTECTED]
Links do Yahoo! Grupos
<*> Para visitar o site do seu grupo na web, acesse:
http://br.groups.yahoo.com/group/redewan/
<*> Para sair deste grupo, envie um e-mail para:
[EMAIL PROTECTED]
<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
http://br.yahoo.com/info/utos.html