Pular para o conteúdo

DHCP3 [RESOLVIDO]

Responder tópico
  • Denunciar
  • Indicar

1. DHCP3 [RESOLVIDO]

Enviado em 09/03/2011 - 23:44h

Boa Noite!
Meu nome é Charlles uso o ubuntu server 10.04

Possuo 3 ineterface de rede:
eth0 na faixa 192.168.0.1
eth1 na 10.1.1.1
eth2 na 192.168.254.254

Gostaria de saber como faço para configurar meu dhcpd.conf para libarar dhcp somente pela eth2.

desde já agradeço.

Responder tópico

2. Re: DHCP3 [RESOLVIDO]

Enviado em 10/03/2011 - 00:02h

Basta editar o arquivo /etc/default/dhcp3-server.

INTERFACES="eth0" (coloque a interface que você quer que o daemon fique escutando)


4. Re: DHCP3 [RESOLVIDO]

Enviado em 10/03/2011 - 17:35h

na opção interfaces do arquivo de configuração do DHCP coloca a interface desejada

5. DHCP3

Enviado em 10/03/2011 - 20:27h

Obrigado com a opção de editar o arquivo /etc/default/dhcp3-server resolveu meu problema.

6. Re: DHCP3 [RESOLVIDO]

Enviado em 17/05/2012 - 21:58h

suportetiv escreveu:

Obrigado com a opção de editar o arquivo /etc/default/dhcp3-server resolveu meu problema.
==========================================

O meu não resolveu!? :o(

/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="eth2"


======================================

dhcpd3 status
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 81 leases to leases file.

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


Not configured to listen on any interfaces!

===========================================

ddns-update-style ad-hoc;
option domain-name-servers 201.10.120.2, 201.10.128.2, 192.168.10.1;
option routers 192.168.10.1;
option domain-name "steakhouse.com.br";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
default-lease-time 600;
max-lease-time 7200;

authoritative;

#Placa de Rede eth2
subnet 192.168.10.0 netmask 255.255.255.0 {
# option routers 192.168.10.1;
# option subnet-mask 255.255.255.0;
range 192.168.10.20 192.168.10.199;
}

host note_marketing_Wireless {
hardware ethernet BC:AE:C5:9C:44:3B;
fixed-address 192.168.10.162;
}
host note_marketing_LAN {
hardware ethernet 00:E0:52:BE:D0:0E;
fixed-address 192.168.10.163;
}
host PC_Pedro {
hardware ethernet 98:4B:E1:CA:8A:14;
fixed-address 192.168.10.164;
}
host Note_Katia {
hardware ethernet 00:21:6b:5f:d3:be;
fixed-address 192.168.10.169;
}


Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder