ich bin noch nicht ganz so fitt im ipv6 Bereich und wollte nun mal versuchen meinem Server Proxmox mit einer VM IPv6 beizubringen.
Beim Host hat soweit alle geklappt, ich kann ipv6.google.com erreichen.
Code: Select all
HOST:
iface eth0 inet6 static
address 2a01:xxx:xxx:xxxx::2
netmask 64
gateway fe80::1
iface vmbr1 inet6 static
address fe80::c0a8:fe
netmask 64
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv6/ip_forward
post-up ip6tables -t nat -A POSTROUTING -s 'fe80::c0a8:0/64' -o eth0 -j MASQUERADE
post-down ip6tables -t nat -D POSTROUTING -s 'fe80::c0a8:0/64' -o eth0 -j MASQUERADE
Von der VM gehts auch auf den Host mittels: ping6 -I ens18 fe80::c0a8:fe"
aber ich komme von der VM nicht aus dem Server raus.
ip -6 route show
Code: Select all
HOST:
root@Proxmox /etc/network # ip -6 route show
2a01:xxx:xxx:xxxx::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev vmbr1 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::1 dev eth0 metric 1024 pref medium
Code: Select all
HOST
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp anywhere 2a01:xxx:xxx:xxxx::/64 tcp to:fe80::c0a8:1
DNAT udp anywhere 2a01:xxx:xxx:xxxx::/64 udp to:fe80::c0a8:1
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all fe80::/64 anywhere to:2a01:xxx:xxx:xxxx::2
Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.254
iface eth0 inet6 static
address fe80::c0a8:4
netmask 64
gateway fe80::c0a8:fe
Code: Select all
ping6 -I eth0 fe80::c0a8:fe
PING fe80::c0a8:fe(fe80::c0a8:fe) from fe80::c0a8:4 eth0: 56 data bytes
64 bytes from fe80::c0a8:fe: icmp_seq=1 ttl=64 time=0.086 ms
Code: Select all
ping6 -I eth0 ct.de
PING ct.de(redirector.heise.de) from fe80::c0a8:4 eth0: 56 data bytes
From redirector.heise.de icmp_seq=1 Destination unreachable: Beyond scope of source address
Vielen Dank.
Gruß
Tobias