ansible/playbooks/vars/desulocal-dhcp.yml
2021-02-27 08:42:15 -06:00

39 lines
1.7 KiB
YAML

# vim:ft=ansible:
dhcp_global_default_lease_time: 28800
dhcp_global_max_lease_time: 43200
dhcp_global_subnet_mask: 255.255.0.0
dhcp_global_broadcast_address: 192.168.255.255
dhcp_global_domain_name: desu.ltd
dhcp_global_domain_name_servers:
- 192.168.103.100
- 192.168.103.101
dhcp_subnets:
- ip: 192.168.0.0
netmask: 255.255.0.0
pools:
- range_begin: 192.168.1.2
range_end: 192.168.1.254
routers: 192.168.1.1
dhcp_hosts:
# 1 Catch-all guest subnet
- { name: router-nighthawk-1, mac: '10:0C:6B:5A:D9:40', ip: 192.168.1.1 }
# 99 IoT trash
- { name: botnet-roku-1, mac: 'AC:AE:19:58:4B:8F', ip: 192.168.99.1 }
# 100 Others workstations
- { name: sad, mac: '44:A5:6E:42:D2:B9', ip: 192.168.100.1 }
# 101 My workstations
- { name: lap-s76-lemp9-0, mac: '18:56:80:54:77:61', ip: 192.168.101.1 }
- { name: dsk-ryzen-0, mac: '50:76:AF:DF:42:42', ip: 192.168.101.2 }
- { name: ph-flame-0, mac: 'A2:2D:5F:89:E2:AA', ip: 192.168.101.100 }
# 102 k8s cluster
- { name: pi-kub-master-1, mac: 'DC:A6:32:9F:B5:C6', ip: 192.168.102.1 }
- { name: pi-kub-node-2, mac: 'DC:A6:32:A0:14:40', ip: 192.168.102.11 }
- { name: pi-kub-node-3, mac: 'DC:A6:32:A0:13:E6', ip: 192.168.102.12 }
- { name: pi-kub-node-1, mac: 'DC:A6:32:A2:C6:71', ip: 192.168.102.10 }
# 103 Miscellaneous general-purpose
- { name: pi-storage-1, mac: 'DC:A6:32:A0:13:F6', ip: 192.168.103.1 }
- { name: pi-mp-1, mac: 'DC:A6:32:A2:C7:FC', ip: 192.168.103.100 }
- { name: pi-mp-2, mac: 'DC:A6:32:A2:C8:52', ip: 192.168.103.101 }
dhcp_interfaces:
- eth0