Untitled

mail@pastecode.io avatar
unknown
plain_text
13 days ago
1.3 kB
1
Indexable
Never
{
  "Dhcp4": {
    "interfaces-config": {
      "interfaces": [ "eth0" ]
    },
    "lease-database": {
      "type": "memfile",
      "persist": true,
      "name": "/var/lib/kea/dhcp4.leases"
    },
    "subnet4": [
      {
        "subnet": "192.168.1.0/24",
        "pools": [
          {
            "pool": "192.168.1.100 - 192.168.1.200"
          }
        ],
        "option-data": [
          {
            "name": "routers",
            "data": "192.168.1.1"
          },
          {
            "name": "domain-name-servers",
            "data": "8.8.8.8, 8.8.4.4"
          },
          {
            "name": "domain-name",
            "data": "example.com"
          }
        ]
      },
      {
        "subnet": "192.168.2.0/24",
        "pools": [
          {
            "pool": "192.168.2.100 - 192.168.2.200"
          }
        ],
        "option-data": [
          {
            "name": "routers",
            "data": "192.168.2.1"
          },
          {
            "name": "domain-name-servers",
            "data": "8.8.8.8, 8.8.4.4"
          },
          {
            "name": "domain-name",
            "data": "example.com"
          }
        ]
      }
    ],
    "valid-lifetime": 4000,
    "renew-timer": 1000,
    "rebind-timer": 2000
  }
}
Leave a Comment