added netplan, removed old network config file

This commit is contained in:
Maria Haider 2021-10-12 12:21:22 +02:00
parent 2ae1c7df95
commit 2d17145986
Signed by: mariah
GPG key ID: 7414A760CA747E57
2 changed files with 29 additions and 32 deletions

View file

@ -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.100/28
- 2001:6b0:63:4::100/64
dhcp4: false
dhcp6: false
accept-ra: false
gateway4: 94.176.224.97
gateway6: 2001:6b0:63:4::1
nameservers:
addresses:
- 89.32.32.32
search:
- komreg.net
parameters:
stp: false
forward-delay: 2

View file

@ -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.100
netmask 255.255.255.240
network 94.176.224.96
broadcast 94.176.224.111
gateway 94.176.224.97
# 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:63:4::100
netmask 64
gateway 2001:6b0:63:4::1