mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 23:59:59 +00:00
46eda27d7d
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
{
|
|
# DHCPv6 configuration starts on the next line
|
|
"Dhcp6": {
|
|
|
|
# First we set up global values
|
|
"valid-lifetime": 4000,
|
|
"renew-timer": 1000,
|
|
"rebind-timer": 2000,
|
|
"preferred-lifetime": 3000,
|
|
|
|
# Next we setup the interfaces to be used by the server.
|
|
"interfaces-config": {
|
|
"interfaces": [ "enx00e04c6800ee"]
|
|
},
|
|
|
|
# And we specify the type of lease database
|
|
"lease-database": {
|
|
"type": "memfile",
|
|
"persist": true,
|
|
"name": "./kea/dhcp6.leases"
|
|
},
|
|
|
|
# Finally, we list the subnets from which we will be leasing addresses.
|
|
"subnet6": [
|
|
{
|
|
"rapid-commit": true,
|
|
"subnet": "2001:db8:0:1::/56",
|
|
"id": 1024,
|
|
"interface": "enx00e04c6800ee",
|
|
"pools": [
|
|
{
|
|
"pool": "2001:db8:0:1::10-2001:db8:0:1::ffff"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
|
|
"option-data": [
|
|
{
|
|
"name": "dns-servers",
|
|
"code": 23,
|
|
"csv-format": true,
|
|
"space": "dhcp6",
|
|
"data": "2001:4860:4860::8888, 2001:4860:4860::8844"
|
|
},
|
|
{
|
|
"name": "bootfile-url",
|
|
"code": 59,
|
|
"csv-format": true,
|
|
"space": "dhcp6",
|
|
"data": "http://[2001:db8:0:1::128]:80/nbp"
|
|
}
|
|
]
|
|
# DHCPv6 configuration ends with the next line
|
|
}
|
|
|
|
}
|
|
|