Linux Solutions Center    
Bienvenido a    :: LINUX SOLUTIONS CENTER ::
México, 
Home Tips Linux as a DCHP SERVER
LINUX es nuestra Especialidad: · Servidores de Internet · Monitoreo de Servidores y Enlaces · Virtualizacion · Firewalls con OpenSource · Proxy Servers (Web Cache) · DNS y DHCP · Web Server · Webmail · NAT's · IP Forwarding · FTP Server · Email Attachmnt Filtering · Reportes estadisticos · Linux Gateway/Router · Bloqueo de Puertos · Email Server · Reporte de todo el trafico interno/externo · Administracion de Ancho de banda · VPN's con Open VPN · Soporte Ténico comercial · Administración de servidores Linux (RedHat EL/AS, Debian, CentOs, etc) · Instalación y Configuración de Servidores · Configuración de servidores de E-Mail (Sendmail, Qmail, Postfix con virtual domains) · Antvirus con OpenSource · Administración de LVM · y mas... mucho mas
Linux Solutions C.
Acerca de
Actualidad
GNU/Linux
Gente en Línea
Tenemos 13 invitados conectado(s)
Estadísticas
Ver contenido por hits : 327570
Acceso



Google Translation

 
Temas Relacionados

El Clima
Current Thu, 09 Sep 2010 12:41 pm CDT
City: Ocoyucan
Mostly Cloudy
sunrise: 7:19 am
sunset: 7:40 pm
Act: 23°
Máx: 22°
Mín: 12°

Esta NocheMañana
Scattered
Thunderstorms
Scattered
Thunderstorms
 
Máx: 22°
Mín: 12°
Máx: 22°
Mín: 12°



Linux as a DCHP SERVER PDF Imprimir E-mail Hits: 1061
Usar puntuación: / 0
MaloBueno 
Tips
Escrito por Administrator   
Viernes, 01 de Febrero de 2008 20:02

# Sample configuration file for ISC dhcpd

# option definitions common to all supported networks...
option domain-name "example.org"; ("linuxsc.net")
option domain-name-servers ns1.example.org, ns2.example.org; (148.243.214.10)

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

#dns-update-style ad-hoc;
#dns-update-style interim; (default)
#ignore client-updates;
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;
#no 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;

# Share network declaration (for adminitration of networks)
share-network linuxsc1 {
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option routers 10.21.1.2; (gw de la red o el firewall como gw)
subnet 10.21.1.0 netmask 255.255.255.0 {
option broadcast-address 10.21.1.255;
option routers 10.21.1.2;

# Group Declaration
group servidores {
use-host-decl-names on;

# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host perseo.linuxsc.net {
hardware ethernet 00:89:6b:e3:ac:ff;
fixed-address 10.21.1.232;
}
host pruebas.linuxsc.net {
hardware ethernet 00:98:7a:e5:f1;
fixed-address 10.21.1.233;
}
host apex {
option host-name "apex.example.com";
hardware ethernet 00:A0:78:8E:9E:AA;
fixed-address 192.168.1.4;
}
}
group otros {
range 10.21.1.234 10.21.1.240;
}
}

# This is a very basic subnet declaration.
subnet 10.254.239.0 netmask 255.255.255.224 {
range 10.254.239.10 10.254.239.20;
option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
}

# A slightly different configuration for an internal subnet.
subnet 10.5.5.0 netmask 255.255.255.224 {
range 10.5.5.26 10.5.5.30;
option domain-name-servers ns1.internal.example.org;
option domain-name "internal.example.org";
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
default-lease-time 600;
max-lease-time 7200;

host hacker {
hardware ethernet cc:34:25:ac:e5:66;
deny booting;
}
}
}

Última actualización el Viernes, 01 de Febrero de 2008 20:04
 




LSC Support Online
SysOp
Tech Support
Encuestas
¿Y tú, que Desktop prefieres ?
 
Anunciate aquí

Centro de Soluciones Linux

KoalaSoft-Sitio de Amigos

Computer Fixers

Siguenos en Identi.ca Siguenos en Identi.ca


No. de Visitas
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterHoy344
mod_vvisit_counterAyer584
mod_vvisit_counterEsta Semana2073
mod_vvisit_counterEste Mes5242
mod_vvisit_counterTotal431769
Linuxsc en RSS
News Feeds
Archivos
identi.ca

Ultimo Reporte