homelab/roles/base/templates/interfaces.j2

8 lines
177 B
Plaintext
Raw Normal View History

2023-12-24 17:58:49 +01:00
auto eth0
iface eth0 inet static
address {{ static_ip }}
broadcast {{ broadcast_ip }}
netmask 255.255.255.0
gateway {{ router_ip }}
dns-nameservers {{ router_ip }} 8.8.8.8