[gelöst] proxmox-ve und IPv6

killerhorse

Member
Aug 21, 2019
2
0
21
43
Hallo,

habe auf debian buster (Minimalinstallation) Proxmox installiert. Es funktioniert alles, bis auf IPv6, ich komme nicht drauf was schief läuft.

/etc/interfaces am Host System:
Code:
    ### Hetzner Online GmbH installimage
    source /etc/network/interfaces.d/*
    auto lo
    iface lo inet loopback
    iface lo inet6 loopback
    auto enp2s0
    iface enp2s0 inet static
      address XXX.XXX.XXX.163
      netmask 255.255.255.255
      pointopoint XXX.XXX.XXX.129
      gateway XXX.XXX.XXX.129
    iface enp2s0 inet6 static
      address 2a01:4f8:212:XXXX::2
      netmask 128
      gateway fe80::1
      up sysctl -p
    # fuer Einzel-IPs
    auto vmbr0
    iface vmbr0 inet static
      address XXX.XXX.XXX.163
      netmask 255.255.255.255
      bridge_ports none
      bridge_stp off
      bridge_fd 0
       up ip route add XXX.XXX.XXX.188/32 dev vmbr0
       up ip route add XXX.XXX.XXX.189/32 dev vmbr0
    iface vmbr0 inet6 static
      address 2a01:4f8:212:XXXX::3
      netmask 64
      up ip -6 route add 2a01:4f8:212:XXXX::/64 dev vmbr0

in /etc/sysctl.d/99-hetzner.conf habe ich folgendes hinzugefügt:
Code:
net.ipv6.conf.all.forwarding=1
und
Code:
net.ipv4.ip_forward=0
auf
Code:
net.ipv4.ip_forward=1
geändert.

die /etc/network/interfaces der VM bzw. des LXC Containers sieht so aus:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
        address XXX.XXX.XXX.188
        netmask 255.255.255.255
# --- BEGIN PVE ---
        post-up ip route add XXX.XXX.XXX.163 dev eth0
        post-up ip route add default via XXX.XXX.XXX.163 dev eth0
        pre-down ip route del default via XXX.XXX.XXX.163 dev eth0
        pre-down ip route del XXX.XXX.XXX.163 dev eth0
# --- END PVE ---
iface eth0 inet6 static
        address 2a01:4f8:212:XXXX::100
        netmask 64
        gateway 2a01:4f8:212:XXXX::2

Von außen kann ich die 2a01:4f8:212:XXXX::2 anpingen, die 2a01:4f8:212:XXXX::3 oder gar die 2a01:4f8:212:XXXX::100 nicht.

EDIT:
Von der VM kann ich die 2a01:4f8:212:XXXX::3, die 2a01:4f8:212:XXXX::2 oder eine externe IPv6 Adresse nicht.
Von der VM kann ich die 2a01:4f8:212:XXXX::3 erreichen, die 2a01:4f8:212:XXXX::2 oder eine externe IPv6 Adresse aber nicht.

Vom Host System aus kann ich die 2a01:4f8:212:XXXX::2, 2a01:4f8:212:XXXX::3 und die 2a01:4f8:212:XXXX::100 anpingen.

Ich habe das Ganze laut dem Tutorial eingerichtet:
https: community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de?title=Proxmox_VE
(darf leider keinen richtigen Link posten)

Ausprobiert habe ich es sowohl unter Debian 9, als auch unter Debian 10. Das Ergebnis ist das Gleiche.
Hat jemand eine Idee was hier falsch ist? Ich komme einfach nicht drauf.



Vielen Dank im Voraus,

LG,

Christian
 
Last edited:
@hackmann
Ich verstehe nicht, was Du mit dieser Antwort bezwecken willst.
Debian Buster ist nicht "am Anfang" sondern mittlerweile (seit 6.7.2019) stable.
Weiß jetzt nicht was Du genau meinst was sich an der Commandline geändert hat, aber ich hatte keine Frage zur Commandline sondern zur Netzwerkkonfiguration.
Ansonsten, hast Du den Inhalt der Verlinkten Seiten mal selbst gelesen? An welcher Stelle geht es denn um das Thema um das es im Ausgangspost gegangen ist?

Ansonsten, das Problem hat sich mittlerweile gelöst. Ursache war ein abgestürzter arp cache am Switch an dem der Server hängt. Nachdem dieser vom Provider neu gestartet wurde funktioniert alles.


LG,

Christian
 

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!