z9-router(host): update host kea config
- edit config to work with update kea role - fix ipv6 addresses
This commit is contained in:
parent
6aae94b156
commit
24281b786b
1 changed files with 47 additions and 55 deletions
|
|
@ -7,20 +7,14 @@ kea_dhcp__dns_servers:
|
||||||
kea_dhcp__dhcp4:
|
kea_dhcp__dhcp4:
|
||||||
enable: true
|
enable: true
|
||||||
interfaces: [ "netlan.51", "netlan.52", "netlan.54" ]
|
interfaces: [ "netlan.51", "netlan.52", "netlan.54" ]
|
||||||
control-sockets:
|
|
||||||
- socket-name: /var/run/kea-dhcp4-ctrl-agent.sock
|
|
||||||
socket-type: unix
|
|
||||||
lease-database:
|
|
||||||
type: memfile
|
|
||||||
persist: true
|
|
||||||
option-data:
|
|
||||||
- name: "domain-name-servers"
|
|
||||||
code: 6
|
|
||||||
csv-format: true
|
|
||||||
data: "{{ kea_dhcp__dns_servers.v4 | join(',') }}"
|
|
||||||
subnets:
|
subnets:
|
||||||
- id: 1
|
- id: 1
|
||||||
subnet: 10.89.208.0/22
|
subnet: 10.89.208.0/22
|
||||||
|
option-data:
|
||||||
|
- name: domain-name-servers
|
||||||
|
data: "10.89.208.1"
|
||||||
|
- name: routers
|
||||||
|
data: 10.89.208.1
|
||||||
pools:
|
pools:
|
||||||
- pool: "10.89.208.32 - 10.89.211.250"
|
- pool: "10.89.208.32 - 10.89.211.250"
|
||||||
reservations:
|
reservations:
|
||||||
|
|
@ -64,12 +58,13 @@ kea_dhcp__dhcp4:
|
||||||
- ip-address: 10.89.209.254
|
- ip-address: 10.89.209.254
|
||||||
hostname: ki10
|
hostname: ki10
|
||||||
hw-address: "dc:a6:32:a9:ff:82"
|
hw-address: "dc:a6:32:a9:ff:82"
|
||||||
option-data:
|
|
||||||
- name: routers,
|
|
||||||
csv-format: true
|
|
||||||
data: 10.89.208.1
|
|
||||||
- id: 2
|
- id: 2
|
||||||
subnet: 10.89.212.0/24
|
subnet: 10.89.212.0/24
|
||||||
|
option-data:
|
||||||
|
- name: domain-name-servers
|
||||||
|
data: "10.89.212.1"
|
||||||
|
- name: routers
|
||||||
|
data: 10.89.212.1
|
||||||
pools:
|
pools:
|
||||||
- pool: "10.89.212.32 - 10.89.212.250"
|
- pool: "10.89.212.32 - 10.89.212.250"
|
||||||
reservations:
|
reservations:
|
||||||
|
|
@ -157,14 +152,13 @@ kea_dhcp__dhcp4:
|
||||||
- ip-address: 10.89.212.235
|
- ip-address: 10.89.212.235
|
||||||
hostname: okilaser
|
hostname: okilaser
|
||||||
hw-address: "2c:ff:65:22:b4:63"
|
hw-address: "2c:ff:65:22:b4:63"
|
||||||
- ip-address: 10.89.212.236
|
|
||||||
hw-address: "b8:27:eb:29:bd:77"
|
|
||||||
option-data:
|
|
||||||
- name: routers,
|
|
||||||
csv-format: true
|
|
||||||
data: 10.89.212.1
|
|
||||||
- id: 3
|
- id: 3
|
||||||
subnet: 10.89.213.0/24
|
subnet: 10.89.213.0/24
|
||||||
|
option-data:
|
||||||
|
- name: domain-name-servers
|
||||||
|
data: "10.89.213.1"
|
||||||
|
- name: routers
|
||||||
|
data: 10.89.213.1
|
||||||
pools:
|
pools:
|
||||||
- pool: "10.89.213.32 - 10.89.213.250"
|
- pool: "10.89.213.32 - 10.89.213.250"
|
||||||
reservations:
|
reservations:
|
||||||
|
|
@ -231,86 +225,84 @@ kea_dhcp__dhcp4:
|
||||||
- ip-address: 10.89.213.30
|
- ip-address: 10.89.213.30
|
||||||
hostname: proxmox-backup-server
|
hostname: proxmox-backup-server
|
||||||
hw-address: "8a:48:dd:a3:22:40"
|
hw-address: "8a:48:dd:a3:22:40"
|
||||||
option-data:
|
|
||||||
- name: routers,
|
|
||||||
csv-format: true
|
|
||||||
data: 10.89.213.1
|
|
||||||
|
|
||||||
kea_dhcp__dhcp6:
|
kea_dhcp__dhcp6:
|
||||||
enable: true
|
enable: true
|
||||||
interfaces: [ "netlan.51", "netlan.52", "netlan.54" ]
|
interfaces: [ "netlan.51", "netlan.52", "netlan.54" ]
|
||||||
control-sockets:
|
|
||||||
- socket-name: /var/run/kea-dhcp6-ctrl-agent.sock
|
|
||||||
socket-type: unix
|
|
||||||
lease-database:
|
|
||||||
type: memfile
|
|
||||||
persist: true
|
|
||||||
option-data:
|
|
||||||
- name: "dns-servers"
|
|
||||||
code: 23
|
|
||||||
csv-format: true
|
|
||||||
data: "{{ kea_dhcp__dns_servers.v6 | join(',') }}"
|
|
||||||
subnets:
|
subnets:
|
||||||
- id: 1
|
- id: 1
|
||||||
subnet: "2a07:c481:1:33::/64"
|
subnet: "2a07:c481:1:33::/64"
|
||||||
|
interface: "netlan.51"
|
||||||
|
option-data:
|
||||||
|
- name: "dns-servers"
|
||||||
|
data: "2a07:c481:1:33::1"
|
||||||
pools:
|
pools:
|
||||||
- pool: "2a07:c481:1:33::1:1 - 2a07:c481:1:33::FFFF:FFFF"
|
- pool: "2a07:c481:1:33::/64"
|
||||||
|
allocator: random
|
||||||
reservations:
|
reservations:
|
||||||
- ip-address: "2a07:c481:1:33::1c"
|
- ip-addresses: ["2a07:c481:1:33::1c"]
|
||||||
hostname: dooris
|
hostname: dooris
|
||||||
hw-address: "bc:24:11:b3:93:9c"
|
hw-address: "bc:24:11:b3:93:9c"
|
||||||
- id: 2
|
- id: 2
|
||||||
subnet: "2a07:c481:1:34::/64"
|
subnet: "2a07:c481:1:34::/64"
|
||||||
|
interface: "netlan.52"
|
||||||
|
option-data:
|
||||||
|
- name: "dns-servers"
|
||||||
|
data: "2a07:c481:1:34::1"
|
||||||
pools:
|
pools:
|
||||||
- pool: "2a07:c481:1:34::1:1 - 2a07:c481:1:34::FFFF:FFFF"
|
- pool: "2a07:c481:1:34::/64"
|
||||||
reservations:
|
reservations:
|
||||||
- ip-address: "2a07:c481:1:34::66"
|
- ip-addresses: ["2a07:c481:1:34::66"]
|
||||||
hostname: esphome
|
hostname: esphome
|
||||||
hw-address: "7e:3c:f0:77:8a:f4"
|
hw-address: "7e:3c:f0:77:8a:f4"
|
||||||
- id: 3
|
- id: 3
|
||||||
subnet: "2a07:c481:1:36::/64"
|
subnet: "2a07:c481:1:36::/64"
|
||||||
|
interface: "netlan.54"
|
||||||
|
option-data:
|
||||||
|
- name: "dns-servers"
|
||||||
|
data: "2a07:c481:1:36::1"
|
||||||
pools:
|
pools:
|
||||||
- pool: "2a07:c481:1:36::1:1 - 2a07:c481:1:36::FFFF:FFFF"
|
- pool: "2a07:c481:1:36::/64"
|
||||||
reservations:
|
reservations:
|
||||||
- ip-address: "2a07:c481:1:36::2"
|
- ip-addresses: ["2a07:c481:1:36::2"]
|
||||||
hostname: sw-rack-1
|
hostname: sw-rack-1
|
||||||
hw-address: "F0:9F:C2:10:C3:AA"
|
hw-address: "F0:9F:C2:10:C3:AA"
|
||||||
- ip-address: "2a07:c481:1:36::3"
|
- ip-addresses: ["2a07:c481:1:36::3"]
|
||||||
hostname: sw-rack-2-peo
|
hostname: sw-rack-2-peo
|
||||||
hw-address: "44:d9:e7:06:69:5d"
|
hw-address: "44:d9:e7:06:69:5d"
|
||||||
- ip-address: "2a07:c481:1:36::4"
|
- ip-addresses: ["2a07:c481:1:36::4"]
|
||||||
hostname: sw-main-1
|
hostname: sw-main-1
|
||||||
hw-address: "a8:9c:6c:16:df:cc"
|
hw-address: "a8:9c:6c:16:df:cc"
|
||||||
- ip-address: "2a07:c481:1:36::5"
|
- ip-addresses: ["2a07:c481:1:36::5"]
|
||||||
hostname: sw-main-2
|
hostname: sw-main-2
|
||||||
hw-address: "a8:9c:6c:16:e8:86"
|
hw-address: "a8:9c:6c:16:e8:86"
|
||||||
- ip-address: "2a07:c481:1:36::6"
|
- ip-addresses: ["2a07:c481:1:36::6"]
|
||||||
hostname: sw-shop-1
|
hostname: sw-shop-1
|
||||||
hw-address: "C0:4A:00:FB:DA:C5"
|
hw-address: "C0:4A:00:FB:DA:C5"
|
||||||
- ip-address: "2a07:c481:1:36::7"
|
- ip-addresses: ["2a07:c481:1:36::7"]
|
||||||
hostname: sw-shop-2-peo
|
hostname: sw-shop-2-peo
|
||||||
hw-address: "f4:e2:c6:bf:20:ee"
|
hw-address: "f4:e2:c6:bf:20:ee"
|
||||||
- ip-address: "2a07:c481:1:36::8"
|
- ip-addresses: ["2a07:c481:1:36::8"]
|
||||||
hostname: sw-shop-3-peo
|
hostname: sw-shop-3-peo
|
||||||
hw-address: "d8:b3:70:85:72:76"
|
hw-address: "d8:b3:70:85:72:76"
|
||||||
- ip-address: "2a07:c481:1:36::b"
|
- ip-addresses: ["2a07:c481:1:36::b"]
|
||||||
hostname: pve01
|
hostname: pve01
|
||||||
hw-address: "38:05:25:30:80:35"
|
hw-address: "38:05:25:30:80:35"
|
||||||
- ip-address: "2a07:c481:1:36::c"
|
- ip-addresses: ["2a07:c481:1:36::c"]
|
||||||
hostname: pve02
|
hostname: pve02
|
||||||
hw-address: "b8:85:84:b1:57:b6"
|
hw-address: "b8:85:84:b1:57:b6"
|
||||||
- ip-address: "2a07:c481:1:36::d"
|
- ip-addresses: ["2a07:c481:1:36::d"]
|
||||||
hostname: pve03
|
hostname: pve03
|
||||||
hw-address: "98:fa:9b:a2:ed:e8"
|
hw-address: "98:fa:9b:a2:ed:e8"
|
||||||
- ip-address: "2a07:c481:1:36::f"
|
- ip-addresses: ["2a07:c481:1:36::f"]
|
||||||
hostname: pbs
|
hostname: pbs
|
||||||
hw-address: "BC:24:11:D6:2C:81"
|
hw-address: "BC:24:11:D6:2C:81"
|
||||||
- ip-address: "2a07:c481:1:36::21"
|
- ip-addresses: ["2a07:c481:1:36::21"]
|
||||||
hostname: unifi
|
hostname: unifi
|
||||||
hw-address: "BC:24:11:25:77:60"
|
hw-address: "BC:24:11:25:77:60"
|
||||||
- ip-address: "2a07:c481:1:36::31"
|
- ip-addresses: ["2a07:c481:1:36::31"]
|
||||||
hostname: light
|
hostname: light
|
||||||
hw-address: "72:61:ea:e6:49:e3"
|
hw-address: "72:61:ea:e6:49:e3"
|
||||||
- ip-address: "2a07:c481:1:36::32"
|
- ip-addresses: ["2a07:c481:1:36::32"]
|
||||||
hostname: club-assistant
|
hostname: club-assistant
|
||||||
hw-address: "7a:55:61:c3:a2:89"
|
hw-address: "7a:55:61:c3:a2:89"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue