added netplan, removed old

This commit is contained in:
Maria Haider 2021-10-12 12:15:24 +02:00
parent a5a4825cc8
commit 2ae1c7df95
Signed by: mariah
GPG key ID: 7414A760CA747E57
2 changed files with 17 additions and 24 deletions

View file

@ -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

View file

@ -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