Foros del Web » Administración de Sistemas » Unix / Linux »

configurar servidor dhcp

Estas en el tema de configurar servidor dhcp en el foro de Unix / Linux en Foros del Web. Hola amigos, tengo suse 9.1 tengo instaladas 2 tarjetas de red con la siguientes configuración: Cita: eth0 Link encap:Ethernet HWaddr 00:00:00:00:FD:63 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 ...
  #1 (permalink)  
Antiguo 12/08/2005, 21:27
Avatar de jzginez  
Fecha de Ingreso: julio-2005
Ubicación: Puebla, México
Mensajes: 49
Antigüedad: 18 años, 9 meses
Puntos: 0
configurar servidor dhcp

Hola amigos, tengo suse 9.1 tengo instaladas 2 tarjetas de red con la siguientes configuración:
Cita:
eth0 Link encap:Ethernet HWaddr 00:00:00:00:FD:63
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:fd63/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:383 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:215436 (210.3 Kb)
Interrupt:10 Base address:0x7000

eth1 Link encap:Ethernet HWaddr 00:80:AD:73:0B:CE
inet addr:10.47.81.229 Bcast:255.255.255.255 Mask:255.255.192.0
inet6 addr: fe80::280:adff:fe73:bce/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:182677 errors:0 dropped:0 overruns:0 frame:0
TX packets:3546 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16230008 (15.4 Mb) TX bytes:396429 (387.1 Kb)
Interrupt:11 Base address:0xc000
eth1 esta conectada a un cablemodem y pormedio de ella salgo a internet sin ningun proble.

eth0 esta conectada a la red interna con maquinas windows usando samba y funciona bien, pero si quiero levantar un servidor dhcp este no se inicia me indica el siguiente error:
Cita:
No subnet declaration for eth-id-00:00:00 (0.0.0.0).
** Ignoring requests on eth-id-00:00:00. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth-id-00:00:00 is attached. **
el archivo dhcp.config es:
Cita:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "didesapue";
option domain-name-servers 192.168.1.1;
default-lease-time 600;
max-lease-time 7200;
# if you do not use dynamical DNS updates:
#
# this statement is needed by dhcpd-3 needs at least this statement.
# you have to delete it for dhcpd-2, because it does not know it.
#
# if you want to use dynamical DNS updates, you should first read
# read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
ddns-update-style none;
ddns-updates off;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.1 {
range 192.168.1.10 192.168.1.100;
}
este archivo me lo genera el asistente de yast y tambien lo he creado manualmente con el mismo resultado del error, pude hacer pruebas en otra computadora sin red pero con dos tarjetas y funciono a la primera que me recomiendan, gracias
  #2 (permalink)  
Antiguo 12/08/2005, 23:58
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
Prueba con

Código:
dhcpd -d eth0
Saludos
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:33.