Server: hetzner root-Server
Installation: Debian-90-stretch-64-minimal
2 drives with RAID 1, partitions as follows: swap 16G, /boot 1G, / 10G, /home 10G, /var/log 1G
After plain installation, I do check network-setup: ifconfig
Code: Select all
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet <main-ip> netmask <given-from-hetzner> broadcast <given-from-hetzner>
/etc/network/interfaces reads as follows:
Code: Select all
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp4s0
iface enp4s0 inet static
address <main-IP>
netmask <given-from-hetzner>
gateway <given-from-hetzner>
# route <given-from-hetzner>/27 via <given-from-hetzner>
up route add -net <given-from-hetzner> netmask <given-from-hetzner> gw <given-from-hetzner> dev enp4s0
iface enp4s0 inet6 static
address <given-from-hetzner>::2
netmask 64
gateway <given-from-hetzner>
To get a bridge up and running, I do install bridge-utils:
Code: Select all
apt update
apt upgrade
apt install bridge-utils
Code: Select all
brctl addbr br0
Code: Select all
ip address show
3: br0: <BROADCAST,MULTICAST>
Next one is:
Code: Select all
brctl addif br0 enp4s0
I also did try to do same things with /etc/network/interfaces, (re-)added stuff, took something away, and so on. Tried the following guides, always with the same result of loosing connectiong / server not coming up:
https://wiki.debian.org/KVM#Between_VM_ ... _the_world
https://wiki.hetzner.de/index.php/Netzk ... en#Bridged
https://wiki.hetzner.de/index.php/KVM_m ... y_way#Host
Normally I can go back via rescue-sonsole, but sometimes it can't even start anymore, although I put exact config from beginning in /etc/network/interfaces and reboot ... any ideas? please help!