Advertisement
Guest User

dhcp configs

a guest
Aug 8th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. # The format of this file is documented in the dhcpd.leases(5) manual page.
  2. # This lease file was written by isc-dhcp-4.2.5
  3.  
  4. server-duid "\000\001\000\001\"\375\254\262\000\353\313 \003\222";
  5.  
  6. lease 172.19.0.2 {
  7. starts 3 2018/08/08 13:29:35;
  8. ends 3 2018/08/08 13:29:36;
  9. cltt 3 2018/08/08 13:29:35;
  10. binding state active;
  11. next binding state free;
  12. rewind binding state free;
  13. hardware ethernet 00:d0:12:58:f4:5e;
  14. uid "GW2384-SP355-A:780848";
  15. }
  16. lease 172.19.0.2 {
  17. starts 3 2018/08/08 13:29:35;
  18. ends 3 2018/08/08 13:29:36;
  19. tstp 3 2018/08/08 13:29:36;
  20. cltt 3 2018/08/08 13:29:35;
  21. binding state free;
  22. hardware ethernet 00:d0:12:58:f4:5e;
  23. uid "GW2384-SP355-A:780848";
  24. }
  25. lease 172.19.0.3 {
  26. starts 3 2018/08/08 13:30:26;
  27. ends 3 2018/08/08 13:30:27;
  28. cltt 3 2018/08/08 13:30:26;
  29. binding state active;
  30. next binding state free;
  31. rewind binding state free;
  32. hardware ethernet 00:d0:12:58:f4:5e;
  33. uid "\001\000\320\022X\364^";
  34. }
  35. lease 172.19.0.3 {
  36. starts 3 2018/08/08 13:30:26;
  37. ends 3 2018/08/08 13:30:27;
  38. tstp 3 2018/08/08 13:30:27;
  39. cltt 3 2018/08/08 13:30:26;
  40. binding state free;
  41. hardware ethernet 00:d0:12:58:f4:5e;
  42. uid "\001\000\320\022X\364^";
  43. }
  44. #=========================================================================
  45. dhcpd.conf
  46. log-facility local7;
  47.  
  48. default-lease-time 1;
  49. max-lease-time 1;
  50.  
  51. # for PXE boot clients (when they don't specify arch in vendor-class-identifier string
  52. option arch code 93 = unsigned integer 16; # RFC4578
  53.  
  54. # default TFTP server name
  55. option tftp-server-name "";
  56.  
  57. allow bootp;
  58. authoritative;
  59. always-broadcast on;
  60.  
  61. option bootfile-name "bootfile-ME4.bin\x00";
  62. filename "bootfile-ME4.bin\x00";
  63.  
  64. include "/etc/dhcp/subnets.conf";
  65. #=====================================================================
  66. subnets.conf
  67. subnet 172.19.0.0 netmask 255.255.255.0 {
  68. # IP range consists of two addresses (DUT_0_ADDR, DUT_1_ADDR)
  69. range dynamic-bootp 172.19.0.2 172.19.0.3;
  70. option ip-forwarding off;
  71. option subnet-mask 255.255.255.0;
  72. next-server 172.19.0.1;
  73. }
  74.  
  75. subnet 172.19.1.0 netmask 255.255.255.0 {
  76. }
  77.  
  78. subnet 172.19.2.0 netmask 255.255.255.0 {
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement