From 2ae1c7df95a610761f6a03969c835e4cb914867a Mon Sep 17 00:00:00 2001 From: Maria Haider Date: Tue, 12 Oct 2021 12:15:24 +0200 Subject: [PATCH] added netplan, removed old --- .../overlay/etc/netplan/01-netcfg.yaml | 17 +++++++++++++ .../overlay/etc/network/interfaces | 24 ------------------- 2 files changed, 17 insertions(+), 24 deletions(-) create mode 100644 jump-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml delete mode 100644 jump-fre-3.komreg.net/overlay/etc/network/interfaces diff --git a/jump-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml b/jump-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml new file mode 100644 index 00000000..e0d7d3a4 --- /dev/null +++ b/jump-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml @@ -0,0 +1,17 @@ +network: + version: 2 + ethernets: + eno1: + addresses: + - 94.176.224.242/30 + - 2001:6b0:64:5::242/64 + gateway4: 94.176.224.241 + gateway6: 2001:6b0:64:5::1 + match: + macaddress: 'ac:1f:6b:60:aa:ca' + nameservers: + addresses: + - 89.32.32.32 + search: + - komreg.net + set-name: eno1 diff --git a/jump-fre-3.komreg.net/overlay/etc/network/interfaces b/jump-fre-3.komreg.net/overlay/etc/network/interfaces deleted file mode 100644 index 342ea76c..00000000 --- a/jump-fre-3.komreg.net/overlay/etc/network/interfaces +++ /dev/null @@ -1,24 +0,0 @@ -# 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 -auto eno1 -iface eno1 inet static - address 94.176.224.242 - netmask 255.255.255.252 - network 94.176.224.240 - broadcast 94.176.224.243 - gateway 94.176.224.241 - # dns-* options are implemented by the resolvconf package, if installed - dns-nameservers 89.32.32.32 - -iface eno1 inet6 static - address 2001:6b0:64:5::242 - netmask 64 - gateway 2001:6b0:64:5::1