homelab/ansible/group_vars/dhcp/dhcp

69 lines
1.7 KiB
Plaintext
Raw Normal View History

dhcpd_authoritative: True
dhcpd_lease_time: '72'
2023-09-19 16:33:27 +00:00
dhcpd_domain_name: "lan.{{ domain.name }}"
dhcpd_nameservers:
2022-11-27 10:36:23 +00:00
- '192.168.1.4'
2023-10-18 17:14:43 +00:00
- '192.168.1.41'
dhcpd_zones:
2023-09-19 16:33:27 +00:00
- zone: "lan.{{ domain.name }}."
2023-11-05 16:00:16 +00:00
primary: "192.168.1.5"
key: "dhcpdupdate"
- zone: "1.168.192.in-addr.arpa."
2023-11-05 16:00:16 +00:00
primary: "192.168.1.5"
key: "dhcpdupdate"
dhcpd_options: |
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
update-static-leases on;
2023-09-19 16:33:27 +00:00
ddns-domainname "lan.{{ domain.name }}.";
ddns-rev-domainname "in-addr.arpa.";
dhcpd_subnets:
- subnet: '192.168.1.0'
netmask: '255.255.255.0'
options: |
option routers 192.168.1.1;
pools:
- range: '192.168.1.100 192.168.1.140'
dhcpd_hosts:
- hostname: 'zen-pc'
address: '192.168.1.14'
ethernet: 'f0:d5:bf:f4:ce:d7'
- hostname: 'fixe-pc'
address: '192.168.1.15'
ethernet: 'ee:35:20:fc:7b:04'
- hostname: 'oscar'
address: '192.168.1.40'
2022-09-12 21:11:14 +00:00
ethernet: '7C:83:34:B3:49:9A'
2022-11-13 15:41:14 +00:00
- hostname: 'bleys'
address: '192.168.1.42'
ethernet: '68:1d:ef:2b:3d:24'
- hostname: 'xiaomi-chambre-gateway'
address: '192.168.1.61'
ethernet: '04:cf:8c:9c:f7:f0'
- hostname: 'xiaomi-ampoule-chambre'
address: '192.168.1.62'
ethernet: '44:23:7c:88:1f:ea'
- hostname: 'shelly-chambre-ecran'
address: '192.168.1.63'
ethernet: 'b4:e6:2d:7a:ea:77'
- hostname: 'shelly-salon-cadre'
address: '192.168.1.64'
ethernet: 'b4:e6:2d:7a:e6:1e'
- hostname: 'shelly-chambre-ventilo'
address: '192.168.1.65'
ethernet: 'e0:98:06:97:78:0b'
2024-01-13 15:49:47 +00:00
- hostname: 'shelly-Bureau-chauffeau'
address: '192.168.1.66'
ethernet: '8c:aa:b5:42:b9:b9'