From db8bb831d5b619def3eee4fcc90984d22dfe8a00 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 9 Aug 2023 17:21:25 +0000 Subject: [PATCH] add interfaces Improving rebuild reliability by adding interfaces file. Hope this doesn't break anything. --- roles/common/files/etc/network/interfaces | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/common/files/etc/network/interfaces diff --git a/roles/common/files/etc/network/interfaces b/roles/common/files/etc/network/interfaces new file mode 100644 index 0000000..feefdc1 --- /dev/null +++ b/roles/common/files/etc/network/interfaces @@ -0,0 +1,23 @@ +# This file describes the network interfaces available on your system +# and how to activate them. For more information, see interfaces(5). + +source /etc/network/interfaces.d/* + +# The loopback network interface +auto lo +iface lo inet loopback + +# The primary network interface +allow-hotplug ens33 +iface ens33 inet static + address 142.44.150.185/32 + gateway 66.70.181.254 + # dns-* options are implemented by the resolvconf package, if installed + dns-nameservers 8.8.8.8 8.8.4.4 + dns-search net + up ip route add default via 66.70.181.254 + +# The IPV6 network interface +iface ens33 inet6 static + address 2607:5300:0204:4340:0000:0000:0000:0185/64 + gateway 2607:5300:0204:43ff:00ff:00ff:00ff:00ff \ No newline at end of file