bird/templates/ifcfg-lo.j2

16 lines
477 B
Plaintext
Raw Normal View History

2021-10-25 09:53:52 +00:00
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
{% for protocol_static in bird.bgp.static %}
{% for network in protocol_static['networks'][ansible_fqdn] %}
IPADDR{{ loop.index }}={{ network['ip'] }}
NETMASK{{ loop.index }}={{ network['mask'] }}
{% endfor %}
{% endfor %}
ONBOOT=yes
NAME=loopback