Todas as mensagens (candinho)




Re: servidor dhcp
Just popping in
Cadastrado em:
3/4 10:04
De sao sepe
Grupo:
Registered Users
Mensagens: 2
Offline
Bom dia, estou com problema no centos 7 para rodar dhcp segue config:
option subnet-mask 255.255.255.0;
# create new
# specify domain name
option domain-name "saosepe.rs.leg.br";
# specify name server's hostname or IP address
option domain-name-servers 8.8.8.8, 8.8.4.4;
# default lease time
default-lease-time 600;
# max lease time
max-lease-time 7200;
# this DHCP server to be declared valid
authoritative;
# REDE ENP2S0 DHCP
shared-network DHCP2 {
authoritative;
allow client-updates;
allow unknown-clients;
# specify network address and subnet mask
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.2 192.168.0.19;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
pool {
range 192.168.0.20 192.168.0.199;
}
}
# DHCP TESTE
host DHCP1 {
allow client-updates;
allow unknown-clients;
hardware ethernet a0:f3:c1:01:1d:a2;
}
}
Erro:
Process: 19427 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid enp2s0 (code=exited, status=1/FAILURE)
Main PID: 19427 (code=exited, status=1/FAILURE)

Apr 03 09:46:23 servidor.camara dhcpd[19427]: you want, please write a subnet declaration
Apr 03 09:46:23 servidor.camara dhcpd[19427]: in your dhcpd.conf file for the network segment
Apr 03 09:46:23 servidor.camara dhcpd[19427]: to which interface enp2s0 is attached. **
Apr 03 09:46:23 servidor.camara dhcpd[19427]:
Apr 03 09:46:23 servidor.camara dhcpd[19427]:
Apr 03 09:46:23 servidor.camara dhcpd[19427]: Not configured to listen on any interfaces!
Apr 03 09:46:23 servidor.camara systemd[1]: dhcpd.service: main process exited, code=exited, status=1/FAILURE
Apr 03 09:46:23 servidor.camara systemd[1]: Failed to start DHCPv4 Server Daemon.
Apr 03 09:46:23 servidor.camara systemd[1]: Unit dhcpd.service entered failed state.
Apr 03 09:46:23 servidor.camara systemd[1]: dhcpd.service failed.

Enviado em: 3/4 10:12
Transferir mensagem para outros aplicativos Transferir


servidor dhcp
Just popping in
Cadastrado em:
3/4 10:04
De sao sepe
Grupo:
Registered Users
Mensagens: 2
Offline
Bom dia, estou com problema no centos 7 para rodar dhcp segue config: option subnet-mask 255.255.255.0; # create new # specify domain name option domain-name "saosepe.rs.leg.br"; # specify name server's hostname or IP address option domain-name-servers 8.8.8.8, 8.8.4.4; # default lease time default-lease-time 600; # max lease time max-lease-time 7200; # this DHCP server to be declared valid authoritative; # REDE ENP2S0 DHCP shared-network DHCP2 { authoritative; allow client-updates; allow unknown-clients; # specify network address and subnet mask subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.2 192.168.0.19; option broadcast-address 192.168.0.255; option routers 192.168.0.1; pool { range 192.168.0.20 192.168.0.199; } } # DHCP TESTE host DHCP1 { allow client-updates; allow unknown-clients; hardware ethernet a0:f3:c1:01:1d:a2; } } erro: Process: 19427 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid enp2s0 (code=exited, status=1/FAILURE) Main PID: 19427 (code=exited, status=1/FAILURE) Apr 03 09:46:23 servidor.camara dhcpd[19427]: you want, please write a subnet declaration Apr 03 09:46:23 servidor.camara dhcpd[19427]: in your dhcpd.conf file for the network segment Apr 03 09:46:23 servidor.camara dhcpd[19427]: to which interface enp2s0 is attached. ** Apr 03 09:46:23 servidor.camara dhcpd[19427]: Apr 03 09:46:23 servidor.camara dhcpd[19427]: Apr 03 09:46:23 servidor.camara dhcpd[19427]: Not configured to listen on any interfaces! Apr 03 09:46:23 servidor.camara systemd[1]: dhcpd.service: main process exited, code=exited, status=1/FAILURE Apr 03 09:46:23 servidor.camara systemd[1]: Failed to start DHCPv4 Server Daemon. Apr 03 09:46:23 servidor.camara systemd[1]: Unit dhcpd.service entered failed state. Apr 03 09:46:23 servidor.camara systemd[1]: dhcpd.service failed.

Enviado em: 3/4 10:08
Transferir mensagem para outros aplicativos Transferir



 Topo