DHCP para várias subredes
Pessoal. Estou precisando montar uma rede com várias subredes tipo assim
Subrede1 192.168.1.0/8
Subrede1 192.168.2.0/8
Subrede1 192.168.3.0/4
Subrede1 192.168.4.0/4
Como faria pra estes pcs pegarem os ips? Alguem me indica material ou teria o dhcpd.conf que faça isso?
DHCP para várias subredes
E ae galera. Ninguem nunca fez isso?
DHCP para várias subredes
1 subrede por interface (ou subinterfece) e aloque cada servico de dhcp a cada interface correspondente a esta subrede, cada um com seu conf em questao.
sacou?
DHCP para várias subredes
Num saquei não. Queria algo mais detalhado pra poder entender bem como funciona.
DHCP para várias subredes
Aeee pessoal. Estou fazendo assim o dhcp.conf
Código :
option domain-name "empresa.com.br";
option domain-name-server 10.6.1.74;
defaut-lease-time 600;
max-lease-time 7200;
shared-network 224-29 {
#Complexo 2. Térreo.
subnet 172.16.1.0 netmask 255.255.255.0 {
option routers 172.16.1.1;
range 172.16.1.50 172.16.1.254;
}
#Complexo 2. Primeiro andar.
subnet 172.16.2.0 netmask 255.255.255.0 {
option routers 172.16.2.1;
option 172.16.2.50 172.16.2.254;
}
#Complexo 2. Segundo andar.
subnet 172.16.3.0 netmask 255.255.255.0 {
option routers 172.16.3.1;
range 172.16.3.50 172.16.3.254;
}
#complexo 2. Terceiro andar.
subnet 172.16.4.0 netmask 255.255.255.0 {
option routers 172.16.4.1;
range 172.16.4.50 172.16.4.254;
}
#Complexo 2. Agencia
subnet 172.16.5.0 netmask 255.255.255.0 {
option routers 172.16.5.1;
range 172.16.5.50 172.16.5.254;
}
#Complexo 3. Bloco A
subnet 172.16.6.0 netmask 255.255.255.0 {
option routers 172.16.6.1;
range 172.16.6.50 172.16.6.254;
}
#Complexo 3. Bloco B
subnet 172.16.7.0 netmask 255.255.255.0 {
option routes 172.16.7.1;
range 172.16.7.50 172.16.7.254;
}
#Complexo 1.
subnet 172.16.8.0 netmask 255.255.255.0 {
option routers 172.16.8.1;
range 172.16.8.50;
}
}
Só que está dando o seguinte erro na hora de dar o dhcpd start
Código :
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 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
No subnet declaration for eth0 (xxx.xxx.xxx.xxx).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the [email][email protected][/email]
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
Alguem tem alguma idéia?
DHCP para várias subredes
Amigo, nao esta errado, somente, coloque mais uma placa de rede para cada sub-net
DHCP para várias subredes
Eu vou ter que colocar uma placa de rede para cada subnet?
Neste arquivo soh tem 8 subnet mas na realidade vou ter mais de 20. Aqui já tem outro server dhcp rodando mas em windows (tem dado problema) e ele tem apenas 3 placas para atender todas estas mesmas subnets.
DHCP para várias subredes
Velho o problema e que vc nao esta criando subnets e sim redes diferentes !!!!
Sao duas coisas totalmente diferentes ..,..
Subnets é uma rede cuja quantidade de hosts esta limitada pela mascara!!!
Agora do jeito que vc esta fazendo realmente vai ter colocar uma placa para cada rede nova!!!
Nao sei se colocar um alias de ip para cada rede nova funciona nunca testei mas tentai e me fala!!!!
[]'s
DHCP para várias subredes
Se eu colocasse a mascara como 255.255.0.0 em vez de 255.255.255.0 resolveria?
DHCP para várias subredes
Tem um esquema adiocionando no registro.
No 98 é diferente do 2000
\HkeyLocalMachine\System\CurrentControlSet\System\Services\{5865675868876 é uma chave viu!!! }\Parameters\TcpIp