ISC-DHCP-SERVER (dhcpd.conf)
Configuração DHCP para várias subredes
Categoria: Networking
Software: ISC-DHCP-SERVER
[ Hits: 7.310 ]
Por: Carpegieri Torezani
Configuração do DHCP Server para montar Subredes diferentes para cada cliente.
# 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; } } }
Nenhum coment�rio foi encontrado.
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Alguém que utilize o Warsaw do BB no Ubuntu 24.04 (2)
como instalar o docker desktop e o docker no debian 12 arm64 (11)