Kein Connect der VM zum Host

Haxley

Active Member
Jan 7, 2018
29
0
41
54
Hallo,
ich wollte per scp paar Daten von meinem Host zur VM kopieren aber da kommt immer:
ssh: connect to host xxxx:xxx:160:12ce::2 port 22: No route to host

Beide (Hsot und VM) sind via IPV6 von außen erreichbar.
Meine Network/interfaces der VM:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet6 static
    address xxxx:xxx:160:12ce::4
    netmask 64
    gateway xxxx:xxx:160:12ce::3

die des Host:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto enp2s0
iface enp2s0 inet static
  address xxx.x.138.218
  netmask 255.255.255.224
  gateway xxx.x.138.193
  # route xxx.x.138.192/27 via xxx.x.138.193
  up route add -net xxx.x.138.192 netmask 255.255.255.224 gw xxx.x.138.193 dev enp2s0

iface enp2s0 inet6 static
  address xxxx:xxx:160:12ce::2
  netmask 128
  gateway fe80::1
up sysctl -p
  
# vmbr2: IPv6
auto vmbr2
iface vmbr2 inet6 static
address xxxx:xxx:160:12ce::3
netmask 64
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
post-up echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
post-up /sbin/ip -f inet6 neigh add proxy xxxx:xxx:160:12ce::3 dev vmbr2
#post-up /sbin/ip -f inet6 neigh add proxy xxxx:xxx:160:12ce::4 dev vmbr0
post-up /sbin/ip -f inet6 route add xxxx:xxx:160:12ce::4 dev vmbr2

An was kann das liegen?
Ich vermute das ich die Adresse des Gateway vom Host als DNS in der VM mit eintragen muss oder?
Bei LXC war das die /var/lib/lxc/meineVM/config
Wo muss das bei Proxmox rein?
 

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!