forked from FF-RGB/ansible
Prefix dhcpd related variables with dhcpd
This commit is contained in:
parent
7f3d33f31c
commit
cee870fb40
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
dhcp_mtu: 1280
|
dhcpd_mtu: 1280
|
||||||
dhcp_first: "{{ batman_ipv4 | ipaddr('512') | ipaddr('address') }}"
|
dhcpd_first: "{{ batman_ipv4 | ipaddr('512') | ipaddr('address') }}"
|
||||||
dhcp_last: "{{ batman_ipv4 | ipaddr('2558') | ipaddr('address') }}"
|
dhcpd_last: "{{ batman_ipv4 | ipaddr('2558') | ipaddr('address') }}"
|
||||||
name_server: "{{ batman_ipv4 | ipaddr('address') }}"
|
name_server: "{{ batman_ipv4 | ipaddr('address') }}"
|
||||||
|
@ -24,8 +24,8 @@ log-facility local7;
|
|||||||
# Freifunk Regensburg
|
# Freifunk Regensburg
|
||||||
subnet {{ batman_ipv4 | ipaddr('network') }} netmask {{ batman_ipv4 | ipaddr('netmask') }} {
|
subnet {{ batman_ipv4 | ipaddr('network') }} netmask {{ batman_ipv4 | ipaddr('netmask') }} {
|
||||||
option routers {{ batman_ipv4 | ipaddr('address') }};
|
option routers {{ batman_ipv4 | ipaddr('address') }};
|
||||||
option interface-mtu {{ dhcp_mtu }};
|
option interface-mtu {{ dhcpd_mtu }};
|
||||||
pool {
|
pool {
|
||||||
range {{ dhcp_first }} {{ dhcp_last }} ;
|
range {{ dhcpd_first }} {{ dhcpd_last }} ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user