Advertisement
Guest User

dhcp_322

a guest
May 21st, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. #
  2. # Sample configuration file for ISC dhcpd for Debian
  3. #
  4. # Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
  5. # configuration file instead of this file.
  6. #
  7. #
  8.  
  9. # If this DHCP server is the official DHCP server for the local
  10. # network, the authoritative directive should be uncommented.
  11. authoritative;
  12.  
  13. # Use this to send dhcp log messages to a different log file (you also
  14. # have to hack syslog.conf to complete the redirection).
  15. log-facility local7;
  16. ddns-updates on;
  17. ddns-update-style interim;
  18. update-static-leases on;
  19. update-conflict-detection false;
  20.  
  21.  
  22. #############################################################
  23. # Option for Infomir (for mag245/250 and higher)
  24. #############################################################
  25. option space Infomir;
  26. option Infomir.autostart code 1 = text;
  27. option Infomir.bootargs code 2 = text;
  28. option Infomir.mcip code 3 = ip-address;
  29. option Infomir.mcport code 4 = integer 16;
  30. option Infomir.oppubfile code 9 = text;
  31. option Infomir.mcip_img code 10 = ip-address;
  32. option Infomir.mcport_img code 11 = integer 16;
  33. option Infomir.mcip_mng code 12 = ip-address;
  34. option Infomir.mcport_mng code 13 = integer 16;
  35. option Infomir.ip_log code 14 = ip-address;
  36. option Infomir.port_log code 15 = integer 16;
  37. option Infomir.logo_x code 16 = integer 16;
  38. option Infomir.logo_y code 17 = integer 16;
  39. option Infomir.bg_color code 18 = integer 32;
  40. option Infomir.fg_color code 19 = integer 32;
  41. option Infomir.VerNumber code 20 = text;
  42. option Infomir.DateTime code 21 = text;
  43. option Infomir.portal_dhcp code 22 = text;
  44. option Infomir.timezone code 23 = text;
  45. option Infomir.update_url code 24 = text;
  46. option Infomir.update_sboot code 25 = text;
  47. option Infomir.update_ver code 26 = text;
  48. option Infomir.update_mode code 27 = text;
  49. option Infomir.update_sboot_ver code 28 = text;
  50.  
  51. ############################## BOOT MAG322 ################################
  52. class "MAG322_vendor" {
  53. match if ((option vendor-class-identifier="InfomirMAG322"));
  54. next-server 192.168.13.1;
  55. vendor-option-space Infomir;
  56. option Infomir.update_ver "221";
  57. option Infomir.update_url "tftp://192.168.13.1/mag322/imageupdate";
  58. }
  59. ############################## NETWORK ####################################
  60.  
  61. subnet 192.168.13.0 netmask 255.255.255.0 { #network
  62. range 192.168.13.100 192.168.13.254; # Range
  63. option routers 192.168.13.1; #Gateway
  64. option broadcast-address 192.168.13.255; #Broadcast
  65. default-lease-time 600;
  66. max-lease-time 7200;
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement