DHCP Centos

Tema: 

Favor su ayuda con servidor dhcp centos

He revisado unos archivos y lo he hecho pero a lo que inicio el servicio dhcp me da el error de fallo, a continaucion detallo la configuracion que he realizado y no me funfiona, favor corriganme el error indicandome cual es

vi /etc/dhcp/dhcpd.conf

ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range 192.168.0.100 192.168.0.200;
default-lease-time 86400;
max-lease-time 608400;
}

vi /etc/sysconfig/dhcpd

DHCPDARGS=eth1

vi /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
IPADDR=192.168.0.5
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
USERCTL=no

vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
IPADDR=181.112.59.174
NETMASK=255.255.255.248
ONBOOT=yes
DNS2=200.107.60.58
TYPE=Ethernet
GATEWAY=181.112.59.169
DNS1=200.107.10.52
IPV6INIT=no
USERCTL=no

Comentarios

no entiendo

no entiendo, pero porque cuando hago un ifconfig solo me sale em1, lo, p3p1, cuando las configure le puse eth0 y teh1, no entiendo dame una mano ya no se que hacer con ese DHCP en centos

centos al igual q fedora

Imagen de falcom

centos al igual q fedora desde la version 18 me parece le cambio el nombre a las interfaces, asi q no te preocupes es lo mismo si quieres regresar a los onmbres anteriores facil, solo cambiales el nombre de los archivos en la ruta:
/etc/sysconfig/network-scripts/ifcfg-em1
x
/etc/sysconfig/network-scripts/ifcfg-eth0
obviamente dentro tambien tendras q cambiar en:
NAME=em1
x
NAME=eth0
y desactivar el networkManager, si no se te cambian de nuevo
have fun

log de error en DHCP

Revisando el log donde me indicaron esto me aparece
Favor su ayuda no se que mas hacer

Feb 14 12:46:35 nat dhcpd: Wrote 0 leases to leases file.
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Feb 14 12:46:35 nat dhcpd: ** Ignoring requests on eth1. If this is not what
Feb 14 12:46:35 nat dhcpd: you want, please write a subnet declaration
Feb 14 12:46:35 nat dhcpd: in your dhcpd.conf file for the network segment
Feb 14 12:46:35 nat dhcpd: to which interface eth1 is attached. **
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd: Not configured to listen on any interfaces!
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd: This version of ISC DHCP is based on the release available
Feb 14 12:46:35 nat dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 14 12:46:35 nat dhcpd: have been made to the base software release in order to make
Feb 14 12:46:35 nat dhcpd: it work better with this distribution.
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 14 12:46:35 nat dhcpd: http://bugs.centos.org/
Feb 14 12:46:35 nat dhcpd:
Feb 14 12:46:35 nat dhcpd: exiting.

El error es clarísimo:

Imagen de deathUser

El error es clarísimo:

[quote=sjimbo] No subnet declaration for eth1 (no IPv4 addresses).[/quote]

Según eso, no tienes en el dhcpd.conf una sección de configuración para la red asignada a tu interfaz eth1, y por ende, no escucha para esa interfaz:

[quote=sjimbo]Not configured to listen on any interfaces![/quote]

Revisa la configuración de la red y verifica que tengas una declaración para la red de la eth1.

bye
;)