From dd8e5994b9ad4da8b5eec7255809b8eb411886bf Mon Sep 17 00:00:00 2001 From: Maria Haider Date: Tue, 12 Oct 2021 12:26:24 +0200 Subject: [PATCH] removed old network config file and added new netplan config --- .../overlay/etc/netplan/01-netcfg.yaml | 29 +++++++++++++++++ .../overlay/etc/network/interfaces | 32 ------------------- 2 files changed, 29 insertions(+), 32 deletions(-) create mode 100644 kvminfra-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml delete mode 100644 kvminfra-fre-3.komreg.net/overlay/etc/network/interfaces diff --git a/kvminfra-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml b/kvminfra-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml new file mode 100644 index 00000000..a9c0290d --- /dev/null +++ b/kvminfra-fre-3.komreg.net/overlay/etc/netplan/01-netcfg.yaml @@ -0,0 +1,29 @@ +network: + version: 2 + renderer: networkd + ethernets: + eno1: + addresses: [] + dhcp4: false + dhcp6: false + accept-ra: false + + bridges: + br-infra: + interfaces: [eno1] + addresses: + - 94.176.224.228/28 + - 2001:6b0:64:4::228/64 + dhcp4: false + dhcp6: false + accept-ra: false + gateway4: 94.176.224.225 + gateway6: 2001:6b0:64:4::1 + nameservers: + addresses: + - 89.32.32.32 + search: + - komreg.net + parameters: + stp: false + forward-delay: 2 diff --git a/kvminfra-fre-3.komreg.net/overlay/etc/network/interfaces b/kvminfra-fre-3.komreg.net/overlay/etc/network/interfaces deleted file mode 100644 index e7ae5940..00000000 --- a/kvminfra-fre-3.komreg.net/overlay/etc/network/interfaces +++ /dev/null @@ -1,32 +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 manual - -auto br-infra -iface br-infra inet static - address 94.176.224.228 - netmask 255.255.255.240 - network 94.176.224.224 - broadcast 94.176.224.239 - gateway 94.176.224.225 - # dns-* options are implemented by the resolvconf package, if installed - dns-nameservers 89.32.32.32 - dns-search komreg.net - bridge_ports eno1 - bridge_fd 2 - bridge_stp off - bridge_maxwait 0 - -iface br-infra inet6 static - address 2001:6b0:64:4::228 - netmask 64 - gateway 2001:6b0:64:4::1