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