[SOLVED] Fehler in der Netzwerkkonfiguration

Carsten Martens

New Member
Aug 14, 2019
10
1
3
53
Hallo,

ich habe jetzt schon mehrere Konfigurationen versucht, aber ich bekomme das Netzwerk nicht richtig zum Laufen.

Ziel ist es einen Host zu haben auf den dann drei bsi vier Linux-Server laufen.

Wir haben einen Dedicated Server von Hetzner und ein /29 Subnetz gekauft. Ich habe nach der Anleitung des Hetzer-Wiki, einiger Post aus diesem Forum und nach dem Skript von Florian Schaal konfiguriert. Leider alles ohne das ich die VM aus dem Internet erreiche oder das Internet aus dem VM erreiche.

Meine Konfiguration des Hosts ist:

Code:
# loopback device
auto lo
iface lo inet loopback

# network device
auto enp1s0
iface enp1s0 inet static
        address         1.2.3.114
        netmask         255.255.255.255
        gateway         1.2.3.97
        pointopoint     1.2.3.97

auto vmbr0
iface vmbr0 inet static
        address         5.6.7.214
        netmask         255.255.255.248
        bridge_ports    none
        bridge_stp      off
        bridge_fd       0


Meine Konfiguration der VM:

Code:
# loopback device
auto lo
iface lo inet loopback

# device: eth0
auto eth0
iface eth0 inet static
        address 5.6.7.209
        netmask 255.255.255.248
        gateway 5.6.7.214
        pointopoint 1.2.3.114

1.2.3.114 = Haupt IP von Hetzner
1.2.3.97 = GW von Hetzner
5.6.7.214 = letzte IP aus dem Subnetz
5.6.7.209 = ip aus dem Subnetz über das die VM erreichbar sein soll

Was mache ich falsch bzw. wo sehe ich den Fehler nicht? Für jede Hilfe bin ich sehr dankebar.

Carsten
 
Ist IP forwarding aktiviert?
sysctl -w net.ipv4.ip_forward=1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!