Re: [FUG-BR] DHCP Relay

2005-08-24 Por tôpico R. Filippus
Bom dia.

Estou com um problema muito parecido.
Pelo que captei, eu tambem preciso colocar o subnet dessa classe, mas
o dhcp nao esta no servidor e sim no modem adsl!

Segue rc.conf
ifconfig_sis0=192.168.200.254  netmask 255.255.255.0
ifconfig_sis1=10.0.0.10  netmask 255.255.255.0
defaultrouter=10.0.0.138

#sis0 interface de rede interna
#sis1 interface de rede ligada a um modem adsl com dhcp

Quando reinicio o dhcp(/usr/loca/etc/rc.d/isc-dhcpd.sh restart),
recebo o seguinte erro:

No subnet declaration for sis1 (10.0.0.10).
** Ignoring requests on sis1.  If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface sis1 in attached. **


# INICIO Arquivo: /usr/local/etc/dhcpd.conf
option domain-name meudomain.net;
option domain-name-servers 200.215.1.35;

default-lease-time 600;
max-lease-time 7200;
ddms-update-style none:
authoritative;
log facility daemon;

submnet 192.160.200.0 netmask 255.255.255.0 {
range 192.168.200.51 192.168.200.99;
option routers 192.168.200.254;
}
# FIM Arquivo: /usr/local/etc/dhcpd.conf


-- 
Atenciosamente,
R. Filippus

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


RE: [FUG-BR] DHCP Relay

2005-08-04 Por tôpico Luciano Mendonca

João, a solução é por aí mesmo. Veja só o que diz o FAQ do ISC DHCP:
http://www.nominum.com/getOpenSourceResource.php?id=7#faq_14

Q. What does No subnet declaration for eth0 mean?
A. In order for the ISC DHCP server to do its job, it needs to have an
accurate description of what the network looks like. When the server starts
up, it looks for all network interfaces which are up and are broadcast-type
interfaces. If the server finds an interface for which there is no subnet
declaration, it complains. With versions later than 3.0b2, the server will
complain, and continue on with normal operation, ignoring DHCP requests from
the undefined networks.

Each interface on the server should have a subnet declaration. Having a
subnet declaration does not necessarily mean that you need to serve DHCP on
that interface. The declaration can be as simple as:

subnet 192.168.1.0 netmask 255.255.255.0 {
not authoritative;
}
This will configure the server with no information about the subnet to
distribute, therefore the server will not respond with addresses on that
net.


Luciano Mendonça

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Joao Pedro 
 Paula Pannain Souza
 Sent: quinta-feira, 4 de agosto de 2005 16:06
 To: Lista de discussao do grupo FUG-BR
 Subject: Re: [FUG-BR] DHCP Relay
 
 Oi
   O Complicador está na montagem do dhcp para esse freebsd 
 principal pois
   não consegui achar nenhuma documentação explicando o que 
 é necessário
   para fazê-lo só ficar esperando o chamado desses dhcp relay.
  
  talvez êste artigo ajude:
  
  http://www.onlamp.com/pub/a/bsd/2003/05/15/FreeBSD_Basics.html
  
  pelo menos o prefácio indica (IMHO, claro) que possa 
 atender sua solicitação:
  
  In today's article I'd like to finish the series by 
 explaining how to use DHCP in a multi-segment network.
  
 Eu já havia lido, estudado e revirado esse artigo o problema que
 nele aparenta que pelo menos uma classe das subnet estão atribuidas no
 servidor, sendo que como passei no exemplo o servidor não tem o ip
 definido em sua placa de rede.
 
 E qd vc tenta iniciar ele avisa que não tem nenhum ip da rede dele
 rodando e mata o processo.
 
 Eu vou fazer um teste de colocar a subnet da rede que ele tah
 registrado e mais a rede que quero que ele concentre pra ver se
 funciona.
 
 []s
 Joao Pedro
 
 
 Mas agradeço a ajuda.
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br