Pular para o conteúdo

ISC-DHCP-SERVER (dhcpd.conf)

Configuração do DHCP Server para montar Subredes diferentes para cada cliente.
Carpegieri Torezani gieri
Hits: 7.910 Categoria: Networking
  • Download
  • Indicar
  • Denunciar
Download dhcpd.conf

Esconder código-fonte

# Tipo de atualização do DNS: nenhuma
ddns-update-style none;

# Configurando o perí­odo de concessão. Mude os valores conforme sua necessidade (em
# segundos)
default-lease-time 5256000000;
max-lease-time 5256000000;

# O servidor será autoritativo:
authoritative;

option domain-name "Server.local";

 # Para onde enviar mensagens de log:
log-facility local7;

shared-network Rede001 {


# Configurando Subnet 10.0.1.0 Cliente: Cliente 1
subnet 10.0.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.1.1, 192.168.1.1, 8.8.8.8, 1.1.1.1;
option routers 10.0.1.1;
option broadcast-address 10.0.1.255;


# Host ID001_AP1
host ID001_IP2{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.1.2;
}


# Host ID001_AP2
host ID001_IP3{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.1.3;
}


# Host ID001_AP3
host ID001_IP4{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.1.4;
}
}

# Configurando Subnet 10.0.2.0 Cliente: Cliente 2
subnet 10.0.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.2.1, 192.168.1.1, 8.8.8.8, 1.1.1.1;
option routers 10.0.2.1;
option broadcast-address 10.0.2.255;


# Host ID002_AP1
host ID002_IP2{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.2.2;
}


# Host ID002_AP2
host ID002_IP3{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.2.3;
}


# Host ID002_AP3
host ID002_IP4{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.2.4;
}


}

# Configurando Subnet 10.0.3.0 Cliente: Cliente 3
subnet 10.0.3.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.3.1, 192.168.1.1, 8.8.8.8, 1.1.1.1;
option routers 10.0.3.1;
option broadcast-address 10.0.3.255;


# Host ID003_AP1
host ID003_IP2{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.3.2;
}


# Host ID003_AP2
host ID003_IP3{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.3.3;
}


# Host ID003_AP3
host ID003_IP4{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.3.4;
}


}

# Configurando Subnet 10.0.4.0 Cliente: Cliente 4
subnet 10.0.4.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.4.1, 192.168.1.1, 8.8.8.8, 1.1.1.1;
option routers 10.0.4.1;
option broadcast-address 10.0.4.255;


# Host ID004_AP1
host ID004_IP2{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.4.2;
}


# Host ID004_AP2
host ID004_IP3{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.4.3;
}


# Host ID004_AP3
host ID004_IP4{
hardware ethernet FF:FF:FF:FF:FF:FF;
fixed-address 10.0.4.4;
}


}

}

Shaper/CBQ (cbq-002-ID001-IN)

Bandwidthd (bandwidthd.conf)

Shaper/CBQ (cbq-002-ID001-OUT)

dhcpd (dhcpd.conf)

vpnc (vpnc.conf)

WvDial (wvdial.conf)

ZABBIX (zabbix_proxy.conf)

Named (named.conf)

Nenhum comentário foi encontrado.

Contribuir com comentário

Entre na sua conta para comentar.