ipv6 nachträglich einfügen

Sep 28, 2020
99
6
13
Hallo,

ich würde gerne meine ipv6 Adressen meinen virtuellen Maschinen zuweisen, das einrichten des Netzwerks ist aber schon einige Zeit her daher wollte ich mal nachfragen auf was ich alles achten muss.

Also die aktuelle /etc/network/interfaces sieht so aus:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp35s0
iface enp35s0 inet static
    address 168.119.32.115/26
    gateway 168.119.32.65
    pointopoint 168.119.32.65
    up route add -net 168.119.32.64 netmask 255.255.255.192 gw 168.119.32.65 dev enp35s0

auto vmbr0
iface vmbr0 inet static
    address 168.119.32.115/32
    bridge-ports none
    bridge-stp off
    bridge-fd 0
    bridge_maxwait 0
    up ip route add 5.9.187.32/32 dev vmbr0
    up ip route add 5.9.187.33/32 dev vmbr0
    up ip route add 5.9.187.34/32 dev vmbr0
    up ip route add 5.9.187.35/32 dev vmbr0
    up ip route add 5.9.187.36/32 dev vmbr0
    up ip route add 5.9.187.37/32 dev vmbr0
    up ip route add 5.9.187.38/32 dev vmbr0
    up ip route add 5.9.187.39/32 dev vmbr0

jetzt hätte ich so die ipv6 hinzugefügt:
Code:
iface enp35s0 inet6 static
    address 2a01:4f8:242:1e8c::2/64
    gateway fe80::1

...

iface vmbr0 inet6 static
    address 2a01:4f8:242:1e8c::2/64
    bridge-ports none
    bridge-stp off
    bridge-fd 0
    bridge_maxwait 0
    up ip route add 2a01:4f8:242:1e8c::32/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::33/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::34/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::35/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::36/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::37/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::38/64 dev vmbr0
    up ip route add 2a01:4f8:242:1e8c::39/64 dev vmbr0

Und dann eben den Maschinen die IP's zuweisen. Hab ich etwas vergessen?
 

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!