Enviado em 11/03/2021 - 16:20h
Olá Boa Tarde,# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s3
auto enp0s3
iface enp0s3 inet dhcp
allow-hotplug enp0s8
auto enp0s8
iface enp0s8 inet static
address 192.168.1.1
netmask 255.255.255.0
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="enp0s8"
INTERFACESv6="enp0s8"
ddns-update-style none;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.255;
option domain-name-server 192.168.1.1;
option domain-name "internal.example.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
isc-dhcp-server[1243]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: option
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: ^
mar 11 15:54:47 ZABBIX dhcpd[1253]: Configuration file errors encountered -- exiting
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: Configuration file errors encountered -- exiting
mar 11 15:54:47 ZABBIX dhcpd[1253]:
mar 11 15:54:47 ZABBIX systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit isc-dhcp-server.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: If you think you have received this message due to a bug rather
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: than a configuration issue please read the section on submitting
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: bugs on either our web page at www.isc.org or in the README file
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: before submitting a bug. These pages explain the proper
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: process and the information we find helpful for debugging.
mar 11 15:54:47 ZABBIX isc-dhcp-server[1243]: exiting.
mar 11 15:54:47 ZABBIX dhcpd[1253]: If you think you have received this message due to a bug rather
mar 11 15:54:47 ZABBIX systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit isc-dhcp-server.service has entered the 'failed' state with result 'exit-code'.
mar 11 15:54:47 ZABBIX dhcpd[1253]: than a configuration issue please read the section on submitting
mar 11 15:54:47 ZABBIX systemd[1]: Failed to start LSB: DHCP server.
-- Subject: A unidade isc-dhcp-server.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A unidade isc-dhcp-server.service falhou.
--
-- O resultado é failed.
mar 11 15:54:47 ZABBIX dhcpd[1253]: bugs on either our web page at www.isc.org or in the README file
mar 11 15:54:47 ZABBIX dhcpd[1253]: before submitting a bug. These pages explain the proper
mar 11 15:54:47 ZABBIX dhcpd[1253]: process and the information we find helpful for debugging.
mar 11 15:54:47 ZABBIX dhcpd[1253]:
mar 11 15:54:47 ZABBIX dhcpd[1253]: exiting.
Atenção a quem posta conteúdo de dicas, scripts e tal (2)
Manutenção de sistemas Linux Debian e derivados com apt-get, apt, aptitude e dpkg
Melhorando o tempo de boot do Fedora e outras distribuições
Como instalar as extensões Dash To Dock e Hide Top Bar no Gnome 45/46
Como Atualizar Fedora 39 para 40
Instalar Google Chrome no Debian e derivados
Consertando o erro do Sushi e Wayland no Opensuse Leap 15
Instalar a última versão do PostgreSQL no Lunix mantendo atualizado
Flathub na sua distribuição Linux e comandos básicos de gerenciamento
ASRock H310CM-HG4 vs Linux [RESOLVIDO] (18)
Microfone do meu headset não é recinhecido. Meu notebook é um Acer Asp... (12)