ddns-update-style ad-hoc;
default-lease-time 6000;
max-lease-time 7200;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.255;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
A Conexao local esta conectada mas nao navega, os dns jah estao setados no etc/resolv.conf
Eu tenho um Servidor com 5 Placas de Rede, a eth0 entra a net e tenho a eth1,2,3,4
Preciso da Ajuda de vcs eu preciso criar 4 subnets com 4 range de ip`s por exemplo
eu tentei criar outras sub net`s no arquivo dhcpd.conf com os ranges de ip que eu preciso.
depois eu no terminal escrevo;
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
ifconfig eth3 192.168.1.1 netmask 255.255.0.0 up
ifconfig eth2 192.168.2.1 netmask 255.255.255.0 up
ifconfig eth3 192.168.3.1 netmask 255.255.0.0 up
ifconfig eth4 192.168.4.1 netmask 255.255.0.0 up
os comandos entaum fielmente ativam as placas mas quando eu digito talvez erroneamente;
dhcpd eth3 por exemplo vem esta mensagem;
[root@jeova-jireh ~]# dhcpd eth3
Internet Systems Consortium DHCP Server 4.0.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 1 leases to leases file.
Multiple interfaces match the same subnet: eth4 eth3
Multiple interfaces match the same shared network: eth4 eth3
Listening on LPF/eth3/00:02:b3:ac:80:2d/192.168.0.0/24
Sending on LPF/eth3/00:02:b3:ac:80:2d/192.168.0.0/24
Sending on Socket/fallback/fallback-net
There's already a DHCP server running.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
[root@jeova-jireh ~]# ifconfig eth4 192.168.4.1 netmask 255.255.255.0 up
[root@jeova-jireh ~]# ifconfig eth3 192.168.3.1 netmask 255.255.255.0 up
[root@jeova-jireh ~]# ifconfig eth2 192.168.2.1 netmask 255.255.255.0 up
[root@jeova-jireh ~]# ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up
e a Resposta para mim quando tento
[root@jeova-jireh ~]# dhcpd eth3
Internet Systems Consortium DHCP Server 4.0.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.
Multiple interfaces match the same subnet: eth0 eth1
Multiple interfaces match the same shared network: eth0 eth1
Listening on LPF/eth3/00:02:b3:ac:80:2d/192.168.3.0/24
Sending on LPF/eth3/00:02:b3:ac:80:2d/192.168.3.0/24
Sending on Socket/fallback/fallback-net
There's already a DHCP server running.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.