forked from FF-RGB/ansible
Fixed MAC addresses for br/bat-interfaces
This commit is contained in:
parent
6a0c6ff476
commit
b57bc04e1c
@ -3,28 +3,31 @@
|
|||||||
# br-{{ site_code }}
|
# br-{{ site_code }}
|
||||||
auto br-{{ site_code }}
|
auto br-{{ site_code }}
|
||||||
iface br-{{ site_code }}
|
iface br-{{ site_code }}
|
||||||
|
hwaddress f2:00:90:00:{{ gateway_id }}:20
|
||||||
|
mtu 1500
|
||||||
|
#
|
||||||
bridge-fd 0
|
bridge-fd 0
|
||||||
bridge-ports bat-{{ site_code }}
|
bridge-ports bat-{{ site_code }}
|
||||||
bridge-stp no
|
bridge-stp no
|
||||||
#
|
#
|
||||||
address {{ batman_ipv4 }}
|
address {{ batman_ipv4 }}
|
||||||
address {{ batman_ipv6 }}
|
address {{ batman_ipv6 }}
|
||||||
mtu 1500
|
|
||||||
|
|
||||||
# bat-{{ site_code }}
|
# bat-{{ site_code }}
|
||||||
auto bat-{{ site_code }}
|
auto bat-{{ site_code }}
|
||||||
iface bat-{{ site_code }}
|
iface bat-{{ site_code }}
|
||||||
batman-hop-penalty 5
|
hwaddress f2:00:90:00:{{ gateway_id }}:20
|
||||||
batman-ifaces dmy-{{ site_code }} vpn-{{ site_code }}
|
mtu 1500
|
||||||
batman-ifaces-ignore-regex .*_.*
|
|
||||||
#
|
#
|
||||||
mtu 1500
|
batman-hop-penalty 5
|
||||||
|
batman-ifaces dmy-{{ site_code }} vpn-{{ site_code }}
|
||||||
|
batman-ifaces-ignore-regex .*_.*
|
||||||
#
|
#
|
||||||
up /usr/sbin/batctl -m bat-{{ site_code }} gw_mode server 100000 100000
|
up /usr/sbin/batctl -m bat-{{ site_code }} gw_mode server 100000 100000
|
||||||
|
|
||||||
# dmy-{{ site_code }}
|
# dmy-{{ site_code }}
|
||||||
auto dmy-{{ site_code }}
|
auto dmy-{{ site_code }}
|
||||||
iface dmy-{{ site_code }}
|
iface dmy-{{ site_code }}
|
||||||
hwaddress f2:00:90:00:{{ gateway_id }}:00
|
hwaddress f2:00:90:00:{{ gateway_id }}:00
|
||||||
link-type dummy
|
link-type dummy
|
||||||
mtu 1560
|
mtu 1560
|
||||||
|
Loading…
Reference in New Issue
Block a user