xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/samples/vmnet8.json (revision 2f62cc9c12bc202c40224f32c879f81443fee079)
1{
2  # Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8.
3  #
4  # This file was automatically generated by the VMware configuration program.
5  # See Instructions below if you want to modify it.
6  #
7  # We set domain-name-servers to make some DHCP clients happy
8  # (dhclient as configured in SuSE, TurboLinux, etc.).
9  # We also supply a domain name to make pump (Red Hat 6.x) happy.
10  #
11  ###### VMNET DHCP Configuration. Start of "DO NOT MODIFY SECTION" #####
12  # Modification Instructions: This section of the configuration file contains
13  # information generated by the configuration program. Do not modify this
14  # section.
15  # You are free to modify everything else. Also, this section must start
16  # on a new line
17  # This file will get backed up with a different name in the same directory
18  # if this section is edited and you try to configure DHCP again.
19  # Written at: 04/12/2017 14:00:17
20  /// This configuration declares some subnets but has no interfaces-config
21  /// Reference Kea #245
22  "Dhcp4": {
23//  "statement": {
24//    "config": {
25//      "value": "allow",
26//      "name": "boot-unknown-clients",
27//      "code": 6
28//    }
29//  },
30    "valid-lifetime": 1800,
31    "max-valid-lifetime": 7200,
32    "subnet4": [
33      # default is 2 hours
34      {
35        "id": 1,
36        "subnet": "172.16.254.0/24",
37        "pools": [
38          {
39            "pool": "172.16.254.128 - 172.16.254.254"
40          }
41        ],
42        "option-data": [
43          {
44            "space": "dhcp4",
45            "name": "broadcast-address",
46            "code": 28,
47            "data": "172.16.254.255"
48          },
49          {
50            "space": "dhcp4",
51            "name": "domain-name-servers",
52            "code": 6,
53            "data": "172.16.254.2"
54          },
55          {
56            "space": "dhcp4",
57            "name": "domain-name",
58            "code": 15,
59            "data": "localdomain"
60          },
61          # default is 2 hours
62          {
63            "space": "dhcp4",
64            "name": "netbios-name-servers",
65            "code": 44,
66            "data": "172.16.254.2"
67          },
68          {
69            "space": "dhcp4",
70            "name": "routers",
71            "code": 3,
72            "data": "172.16.254.2"
73          }
74        ],
75        "valid-lifetime": 1800,
76        "max-valid-lifetime": 7200,
77        "reservations": [
78          {
79            "hostname": "vmnet8",
80            "hw-address": "00:50:56:c0:00:08",
81            "ip-address": "172.16.254.1",
82            "option-data": [
83              {
84                "space": "dhcp4",
85                "name": "domain-name-servers",
86                "code": 6,
87                "data": "0.0.0.0"
88              },
89              #	option domain-name "";
90              {
91                "space": "dhcp4",
92                "name": "routers",
93                "code": 3,
94                "data": "0.0.0.0"
95              }
96            ]
97          }
98        ]
99      }
100    ],
101    "host-reservation-identifiers": [
102      "hw-address"
103    ]
104  }
105}
106