Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat /etc/dhcp/dhcpd.conf
- # dhcpd.conf
- #
- # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
- #
- ###############################################################################
- ######################## DIRECTIVAS GLOBALES ##################################
- ###############################################################################
- # -----------------------------------------------------------------------------
- # Directivas para servidor Autoritativo y DDNS
- # -----------------------------------------------------------------------------
- # Este es un servidor autoritativo y tiene prioridad en la subred
- #authoritative;
- # El servidor rechaza actualizaciones DNS directamente desde los clientes
- deny client-updates;
- # El servidor NO usa ningun estilo de actualizacion DNS dinamica
- ddns-update-style none;
- ################################################################################
- ##################### DEFINICION DE SUBRED y HOSTS #############################
- ################################################################################
- # -----------------------------------------------------------------------------
- # Definicion de Subred 192.168.221.0/24
- # -----------------------------------------------------------------------------
- subnet 150.160.25.0 netmask 255.255.255.0 {
- # Tiempos de asignacion para los clientes en esta subred
- default-lease-time 28800; # 8 Horas
- max-lease-time 43200; # 12 Horas
- # Parametros Generales de Red
- option subnet-mask 255.255.255.0;
- option broadcast-address 192.168.221.255;
- option routers 192.168.221.254;
- option domain-name "example.com";
- option domain-name-servers 192.168.221.1, 192.168.221.2;
- option time-offset -6; # Central Standard Time
- range 192.168.221.50 192.168.221.200;
- }
- # -----------------------------------------------------------------------------
- # Asignacion de direccion IP fija basada en la direccion MAC del cliente
- # -----------------------------------------------------------------------------
- # Host: b0333301 (Produccion)
- host b0333301 {
- option host-name "b0333301";
- hardware ethernet 00:1A:4D:99:82:51;
- fixed-address 150.160.25.17;
- filename "pxelinux.0";
- next-server 150.210.0.65;
- }
- # Host: b0454501 (Calidad)
- host b0454501 {
- option host-name "b0454501";
- hardware ethernet 00:1A:4D:F1:FC:60;
- fixed-address 150.160.25.49;
- filename "pxelinux.0";
- #next-server 150.160.26.65;
- next-server 150.210.0.65;
- }
- # Host:
- host lenovobs {
- option host-name "lenovobs";
- hardware ethernet 00:23:24:37:09:5f;
- fixed-address 150.160.25.99;
- filename "pxelinux.0";
- #next-server 150.160.26.65;
- next-server 150.210.0.65;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement