Jo�o Paulo Sousa wrote:

Ol� a todos,

Tenho uma m�quina com duas interfaces de rede eth0 (IP p�blico) e eth1
(IP privado).

Quero instalar o servi�o de dhcp para a rede privada.

Configurei o dhcpd.conf  no /etc/init.d/dhcpd coloquei a interface de
defeito eth1.
No entanto quando inicio o servi�o d�-me este erro no syslog


May 4 10:53:12 pingus dhcpd: No subnet declaration for eth0 (193.116.124.2). May 4 10:53:12 pingus dhcpd: Please write a subnet declaration in your dhcpd.conf file for the May 4 10:53:12 pingus dhcpd: network segment to which interface eth0 is attached.

E eu n�o quero o dhcpd nesta interface. Como fa�o?

Olha a leitura do manual! O meu � o dhcp3, mas deve ser a mesma coisa; vai ser f�cil :-) Veja nesse arquivo:


----------------------------------------
cat /etc/default/dhcp3-server
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"
----------------------------------------

--
Marcos


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Responder a