Advertisement
Guest User

jmedina

a guest
Apr 16th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. $ cat /etc/dhcp/dhcpd.conf
  2. # dhcpd.conf
  3. #
  4. # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
  5. #
  6.  
  7. ###############################################################################
  8. ######################## DIRECTIVAS GLOBALES ##################################
  9. ###############################################################################
  10.  
  11. # -----------------------------------------------------------------------------
  12. # Directivas para servidor Autoritativo y DDNS
  13. # -----------------------------------------------------------------------------
  14.  
  15. # Este es un servidor autoritativo y tiene prioridad en la subred
  16. #authoritative;
  17.  
  18. # El servidor rechaza actualizaciones DNS directamente desde los clientes
  19. deny client-updates;
  20. # El servidor NO usa ningun estilo de actualizacion DNS dinamica
  21. ddns-update-style none;
  22.  
  23. ################################################################################
  24. ##################### DEFINICION DE SUBRED y HOSTS #############################
  25. ################################################################################
  26.  
  27.  
  28. # -----------------------------------------------------------------------------
  29. # Definicion de Subred 192.168.221.0/24
  30. # -----------------------------------------------------------------------------
  31.  
  32. subnet 150.160.25.0 netmask 255.255.255.0 {
  33.  
  34. # Tiempos de asignacion para los clientes en esta subred
  35. default-lease-time 28800; # 8 Horas
  36. max-lease-time 43200; # 12 Horas
  37.  
  38. # Parametros Generales de Red
  39. option subnet-mask 255.255.255.0;
  40. option broadcast-address 192.168.221.255;
  41. option routers 192.168.221.254;
  42. option domain-name "example.com";
  43. option domain-name-servers 192.168.221.1, 192.168.221.2;
  44.  
  45. option time-offset -6; # Central Standard Time
  46.  
  47. range 192.168.221.50 192.168.221.200;
  48.  
  49. }
  50.  
  51. # -----------------------------------------------------------------------------
  52. # Asignacion de direccion IP fija basada en la direccion MAC del cliente
  53. # -----------------------------------------------------------------------------
  54.  
  55. # Host: b0333301 (Produccion)
  56. host b0333301 {
  57. option host-name "b0333301";
  58. hardware ethernet 00:1A:4D:99:82:51;
  59. fixed-address 150.160.25.17;
  60. filename "pxelinux.0";
  61. next-server 150.210.0.65;
  62. }
  63.  
  64. # Host: b0454501 (Calidad)
  65. host b0454501 {
  66. option host-name "b0454501";
  67. hardware ethernet 00:1A:4D:F1:FC:60;
  68. fixed-address 150.160.25.49;
  69. filename "pxelinux.0";
  70. #next-server 150.160.26.65;
  71. next-server 150.210.0.65;
  72. }
  73.  
  74. # Host:
  75. host lenovobs {
  76. option host-name "lenovobs";
  77. hardware ethernet 00:23:24:37:09:5f;
  78. fixed-address 150.160.25.99;
  79. filename "pxelinux.0";
  80. #next-server 150.160.26.65;
  81. next-server 150.210.0.65;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement