Nova configuração efetua.. porém a internet ainda não esta funcionando... no
servidor a internet funciona normalmente.
-------------------------------------------------------------------------------------
# /etc/dhcp3/dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
option routers 192.168.0.1;
option domain-name-servers 200.204.0.10,200.204.0.138; <==== DND da
telefonica
option broadcast-address 192.168.0.255;
}
-------------------------------------------------------------------------------------
#/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="eth0"
-------------------------------------------------------------------------------------
#/etc/network/interfaces
auto lo
iface lo inet loopback
# Rede Loca
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.1
# internet Mondem Speedy lixo telefonica
auto eth1
iface eth1 inet dhcp
# address 10.0.0.1
# netmask 255.255.0.0
# gateway 10.0.0.138
------------------------------------------------------------------------------------
Ip q o micro esta recebendo do servidor DHCP
Sufixo DNS específico à conexão:
Descrição: Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
Endereço Físico: 00-22-15-96-8A-19
DHCP Ativado: Sim
IPv4 Endereço IP: 192.168.0.100
IPv4 Máscara de Sub-rede: 255.255.255.0
Concessão Obtida: terça-feira, 23 de junho de 2009 10:53:47
Vencimento da Concessão: terça-feira, 23 de junho de 2009 11:03:47
IPv4 Gateway Padrão: 192.168.0.1
IPv4 Servidor DHCP: 192.168.0.1
IPv4 Servidores DNS: 200.204.0.10, 200.204.0.138
IPv4 Servidor WINS:
NetBIOS sobre Tcpip Habilitado: Sim
Endereço IPv6 link-local: fe80::a4c2:ea61:713a:b97a%10
IPv6 Gateway Padrão:
IPv6 Servidor DNS:
2009/6/23 alan inacio <[email protected]>
> Srs.
> Agora as maquinas estão recebendo os ip’s normalmente, porém a internet
> ainda não esta funcionando. Agora configurei desta forma.
>
> # /etc/dhcp3/dhcpd.conf
> ddns-update-style none;
> default-lease-time 600;
> max-lease-time 7200;
> authoritative;
> subnet 192.168.0.0 netmask 255.255.255.0 {
> range 192.168.0.100 192.0.0.199;
> option routers 10.0.0.138;
> option domain-name-servers 200.204.0.10,200.204.0.138;
> option broadcast-address 192.168.0.255;
> }
>
>
> #/etc/default/dhcp3-server
>
> INTERFACES="eth0"
>
>
> #/etc/network/interfaces
>
> auto lo
> iface lo inet loopback
>
> # Rede Loca
> auto eth0
> iface eth0 inet dhcp
> address 192.168.0.1
> netmask 255.255.255.0
> gateway 192.168.0.2
>
>
>
> # internet Mondem Speedy lixo telefonica
>
> auto eth2
> iface eth2 inet dhcp
> address 10.0.0.1
> netmask 255.255.0.0
> gateway 10.0.0.138
>
> 2009/6/22 alan inacio <[email protected]>
>
> Toda vez que tendo iniciar o serviço dhcp recebo a seguinte mensagem “
>> dhcpd3check syslog for diagnostics. Failed!”
>>
>> Verifiquei o syslog
>> Com a seguinte mensagem abaixo
>>
>> Wrote 0 lease to lease file
>> No subnet declaration for eth0 (0.0.0.0).
>> ** Ignoring request on eth0. If this is not what you want, please write a
>> subnet declaration in your dhcpd.con fle for the network segment to which
>> interface eth0 is attached. **
>>
>> Not configured to liten on any interfaces!
>>
>> Segue a minha configuração abaixo;
>> Configuração do meu modem DHCP ativo 10.0.0.138 cabo do modem esta
>> conectado na eth0 e a eth2 na rede
>>
>> # /etc/dhcp3/dhcpd.conf
>> ddns-update-style none;
>> default-lease-time 600;
>> max-lease-time 7200;
>> authoritative;
>> subnet 10.0.0.0 netmask 255.255.0.0 {
>> range 10.0.0.100 10.0.0.199;
>> option routers 10.0.0.138;
>> option domain-name-servers 200.204.0.10,200.204.0.138;
>> option broadcast-address 10.0.0.255;
>> }
>>
>> #/etc/default/dhcp3-server
>>
>> INTERFACES="eth0"
>>
>> #/etc/network/interfaces
>>
>> auto lo
>> iface lo inet loopback
>>
>> # Rede Loca
>> auto eth0
>> iface eth0 inet dhcp
>> address 10.0.0.1
>> netmask 255.255.0.0
>> gateway 10.0.0.138
>>
>> # internet
>>
>> auto eth2
>> iface eth2 inet static
>> address 10.0.0.3
>> netmask 255.255.0.0
>> gateway 10.0.0.138
>>
>
>