shared-network.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "Dhcp4": {
  3. "interfaces-config": {
  4. "interfaces": [ "eth0" ]
  5. },
  6. "lease-database": {
  7. "type": "memfile",
  8. "lfc-interval": 3600
  9. },
  10. "shared-networks": [
  11. {
  12. "interface": "eth1",
  13. "match-client-id": false,
  14. "name": "frog",
  15. "option-data": [ ],
  16. "rebind-timer": 150,
  17. "relay": {
  18. "ip-address": "0.0.0.0"
  19. },
  20. "renew-timer": 100,
  21. "reservation-mode": "all",
  22. "subnet4": [
  23. {
  24. "4o6-interface": "",
  25. "4o6-interface-id": "",
  26. "4o6-subnet": "",
  27. "id": 1,
  28. "match-client-id": true,
  29. "next-server": "0.0.0.0",
  30. "option-data": [ ],
  31. "pools": [ ],
  32. "rebind-timer": 20,
  33. "relay": {
  34. "ip-address": "0.0.0.0"
  35. },
  36. "renew-timer": 10,
  37. "reservation-mode": "all",
  38. "subnet": "10.0.0.0/8",
  39. "valid-lifetime": 30
  40. },
  41. {
  42. "4o6-interface": "",
  43. "4o6-interface-id": "",
  44. "4o6-subnet": "",
  45. "id": 2,
  46. "match-client-id": true,
  47. "next-server": "0.0.0.0",
  48. "option-data": [ ],
  49. "pools": [ ],
  50. "rebind-timer": 20,
  51. "relay": {
  52. "ip-address": "0.0.0.0"
  53. },
  54. "renew-timer": 10,
  55. "reservation-mode": "all",
  56. "subnet": "192.0.2.0/24",
  57. "valid-lifetime": 30
  58. }
  59. ],
  60. "valid-lifetime": 200
  61. } ], // end of shared-networks
  62. // This is regular subnet. It's not part of any shared-network.
  63. "subnet4": [
  64. {
  65. "pools": [ { "pool": "192.0.3.1 - 192.0.3.200" } ],
  66. "subnet": "192.0.3.0/24",
  67. "interface": "eth0"
  68. }
  69. ]
  70. } // end of Dhcp4
  71. }