phenriquenl
(usa Debian)
Enviado em 23/02/2015 - 13:42h
Olá já pesquisei na net e li vários tópicos mas não consigo resolver esse problema do meu dhcp ele não starta, segue a minha configuração, uso o Centos 6.5
DEVICE=eth0
HWADDR=00:15:17:3F:C6:85
TYPE=Ethernet
UUID=5b98f348-0834-4cd0-86f4-ff188b787e0a
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
IPV6INIT=no
USERCTL=no
DEVICE=eth1
HWADDR=00:08:54:b1:19:16
TYPE=Ethernet
UUID=7e31529b-f405-4597-9d92-b2ecdd48b403
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
BROADCAST=192.168.1.255
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
IPV6INIT=no
USERCTL=no
# Command line options here
DHCPDARGS=eth1
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.2;
option subnet-mask 255.255.255.0;
option domain-name-servers 208.67.222.222, 208.67.220.220;
option broadcast-address 192.168.1.255;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.1.10 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
}
host teste { hardware ethernet 00:0C:29:DE:8B:ED; fixed-address 10.0.1.20;} #
Iniciando o dhcpd: [FALHOU]
[root@FIREWALL-PV ~]# dhcpd
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Multiple interfaces match the same shared network: eth0 eth1
Listening on LPF/eth1/00:08:54:b1:19:16/foo
Sending on LPF/eth1/00:08:54:b1:19:16/foo
Listening on LPF/eth0/00:15:17:3f:c6:85/foo
Sending on LPF/eth0/00:15:17:3f:c6:85/foo
Sending on Socket/fallback/fallback-net
[root@FIREWALL-PV ~]#