martes, 10 de noviembre de 2009

2 COnfigurando el Sevidor Dhcp

Ahora le toca al Servidor Dhcp

#Instalacion sudo apt-get install dhcp3-server

#archivo1 /etc/default/dhcp3-server
@archivo2 /etc/dhcp3/dhcpd.conf

#servicio /etc/init.d/dhcp3-server {stop|start|restart}

Backup archivo1

*****************************************************************************
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth2"
*****************************************************************************

Backup archivo2
*****************************************************************************
ddns-update-style interim;

authoritative;

# cabina_grande
subnet 192.168.2.0 netmask 255.255.255.0 {
filename "red_angel";
range 192.168.2.1 192.168.2.30;
option domain-name-servers 192.168.1.1;
option routers 192.168.2.100;
option broadcast-address 192.168.2.100;
default-lease-time 3600;
max-lease-time 18000;
}
*****************************************************************************

haber px cuantos entraron?