domingo, 20 de enero de 2008

Servidor DHCP

Para saber que version de dhcpd tenemos, se ingresa el siguiente comando:

dhcpd3 --help


Debera entregar algo como esto:

Internet Systems Consortium DHCP Server V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.



Configuración de ejemplo:



# The ddns-updates-style parameter controls whether or not the server will

# attempt to do a DNS update when a lease is confirmed. We default to the

# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)

ddns-update-style none;

# option definitions common to all supported networks...

option domain-name "celord.ice.co.cr";

option domain-name-servers 200.91.75.5, 200.91.75.6, 200.91.75.7, 200.91.75. 8, 208.133.206.44;

default-lease-time 600;

max-lease-time 7200;


# 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 alsohave to hack syslog.conf to complete the redirection).

log-facility local7;


subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.2 192.168.1.254;

option routers 192.168.1.1;

}


host EscritorioCesar {

hardware ethernet 00:1D:92:2D:CB:30;

fixed-address 192.168.1.245;

}

No hay comentarios: