Switch to kea dhcp server for jail network.
This commit is contained in:
25
ansible/roles/jail_nat_dhcp/files/kea-dhcp4.conf
Normal file
25
ansible/roles/jail_nat_dhcp/files/kea-dhcp4.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Dhcp4": {
|
||||
"interfaces-config": {
|
||||
"interfaces": [ "jailnat_dhcp" ]
|
||||
},
|
||||
"subnet4": [
|
||||
{
|
||||
"subnet": "10.215.1.0/24",
|
||||
"pools": [ { "pool": "10.215.1.10-10.215.1.250" } ],
|
||||
"option-data": [
|
||||
{
|
||||
"name": "routers",
|
||||
"data": "10.215.1.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"option-data": [
|
||||
{
|
||||
"name": "domain-name-servers",
|
||||
"data": "10.215.1.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user