Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/06/2011, 18:15
Avatar de darwin2201
darwin2201
 
Fecha de Ingreso: octubre-2008
Mensajes: 106
Antigüedad: 15 años, 6 meses
Puntos: 1
DHCP en Ubuntu 10.4

hola a todos, necesito crear un servidor dhcp...ok enla web hay info suficiente

Instalar el servidor DHCP (dhcp3-server)

aptitude install dhcp3-server


No se inicia y nos indica que busquemos el motivo en syslog, editamos el fichero /var/log/syslog y encontramos la línea:

dhcpd: Not configured to listen on any interfaces!


Editamos el fichero /etc/default/dhcp3-server y suponiendo que este equipo debe ofrecer las direcciones IP a la red a la que está conectado por la interfaz eth0, ponemos:

INTERFACES="eth0"


Además editamos el fichero /etc/dhcp3/dhcpd.conf que debe ser como sigue:

server-identifier ushuaia;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "patagonia.es.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;

include "/etc/bind/rndc.key";

zone patagonia.es. {
primary 127.0.0.1;
key rndc-key;
}

option domain-name "patagonia.es.";
option domain-name-servers 192.168.1.2, 192.168.1.1;
option ntp-servers 192.168.1.2;
option ip-forwarding off;

default-lease-time 600;
max-lease-time 7200;
authoritative;

log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option broadcast-address 192.168.1.255;
option routers 192.168.1.2;
allow unknown-clients;

zone 1.168.192.in-addr.arpa. {
primary 192.168.1.2;
key "rndc-key";
}

zone localdomain. {
primary 192.168.1.2;
key "rndc-key";
}
}

host impresora {
hardware ethernet 00:11:85:d2:5c:c6;
fixed-address 192.168.1.33;
}


PERO NECESITO SABER SI ESTAS CONFIGURACIONES Y ESPECIFICACIONES SOLO SE PUEDEN REALIZAR UTILIZANDO UN UBUNTU "SERVER" 10.4!!!!!!!!!!!!!!!!!!!!!!

O SE PUEDE REALIZAR IGUAL DESDE MI UBUNTU 10.4 NORMAL...DE USO COTIDIANO????