ich habe einen root-Server bei Strato. Auf diesem habe ich eine VM mit KVM und nochmal Debian 8 als Gast eingerichtet. Aber ich bekomme die Netzwerkkonfiguration des Gastes nicht hin. Da Strato genau wie Hetzner MAC-Adressen filtert, nutzte ich folgende Anleitungen:
https://wiki.hetzner.de/index.php/KVM_m ... e_easy_way
https://wiki.hetzner.de/index.php/KVM_m ... us_Subnetz
Die /etc/network/interfaces des Hosts:
Code: Alles auswählen
# The loopback network interface
auto lo br0
iface lo inet loopback
iface br0 inet dhcp
bridge_ports eth0
up route add -host IP.VOM.GAS.T dev br0
Code: Alles auswählen
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address IP.VOM.GAS.T
netmask 255.255.255.255
gateway IP.VOM.HOS.T
pointopoint IP.VOM.HOS.T
Code: Alles auswählen
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 IP.VOM.HOS.T 0.0.0.0 UG 0 0 0 eth0
IP.VOM.HOS.T 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
Code: Alles auswählen
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 81.169.xxx.xxx 0.0.0.0 UG 0 0 0 br0
81.169.xxx.xxx 0.0.0.0 255.255.255.255 UH 0 0 0 br0
IP.VOM.GAS.T 0.0.0.0 255.255.255.255 UH 0 0 0 br0
Code: Alles auswählen
net.ipv4.conf.all.send_redirects = 0
net.ipv4.ip_forward=1
Auf dem Host habe ich Internet, dort funktioniert alles. Doch der Gast kann keine IP's pingen, auch nicht die vom Host. Hat jemand eine Idee, was hier noch faul ist?