Proxmox IPv6 ?

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
xopen
Beiträge: 99
Registriert: 06.02.2003 11:34:34
Wohnort: Hannover

Proxmox IPv6 ?

Beitrag von xopen » 27.08.2015 17:57:04

Hallo,

Ich habe ein Problem mit IPv6 auf meinem Root Server (keiner von Hetzner) bzw. denn VM´s.

Ich möchte Routing benutzen um denn einzelnen VM´s IPv6 zu geben.

Ja ich weiss das es schon Thema dazu gibt habe glaube auch alle gelesen und komme nicht weiter, deswegen dieser neue.

Mein node (Root Server) Details.

OS vom node Debian 7.8 mit proxmox. Kernel 3.10.0-11-pve
IPv4 funktioniert auf node u. vm´s
Ipv6 funktioniert auf node aber nicht auf denn VM´s
IPv6 ist ein 2a00:xxxx:xxxx::/64
IPv6 GW ist 2a00:xxxx:xxxx::1

Hier Konfiguration vom Netzwerk node.

/etc/network/interfaces

Code: Alles auswählen

# network interface settings
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
        address  5.xxx.xxx.130
        netmask  255.255.255.224
#       pointopoint  5.xxx.xxx.129
        gateway  5.xxx.xxx.129

iface eth0 inet6 static
        address  2a00:xxxx:xxxx::2
        netmask  64   
        gateway  2a00:xxxx:xxxx::1
        up sysctl -p  

######################
# eth1 zb. IPMI usw. #
######################

iface eth1 inet manual

######################################
# vmbr0 Interface Config IPv4 / IPv6 #
######################################


################
# IPv4 bereich #
################

auto vmbr0
iface vmbr0 inet static
        address  5.xxx.xxx.130
        netmask  255.255.255.224
        bridge_ports none
        bridge_ports none
        bridge_stp off   
        bridge_fd 0      
        up ip route add 5.xxx.xxx.150/32 dev vmbr0
        up ip route add 5.xxx.xxx.151/32 dev vmbr0
        up ip route add 5.xxx.xxx.152/32 dev vmbr0
        up ip route add 5.xxx.xxx.153/32 dev vmbr0
        up ip route add 5.xxx.xxx.154/32 dev vmbr0
        up ip route add 5.xxx.xxx.155/32 dev vmbr0
        up ip route add 5.xxx.xxx.156/32 dev vmbr0
        up ip route add 5.xxx.xxx.157/32 dev vmbr0
        up ip route add 5.xxx.xxx.158/32 dev vmbr0

###########################
# IPv6 Bereich ***TEST*** #
###########################

iface vmbr0 inet6 static
        address  2a00:xxxx:xxxx::2
        netmask  64

sysctl -p

Code: Alles auswählen

net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.eth0.proxy_arp = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1
ip -6 route show

Code: Alles auswählen

2a00:xxxx:xxxx::5 dev vmbr0  metric 1024 
2a00:xxxx:xxxx::/64 dev eth0  proto kernel  metric 256 
2a00:xxxx:xxxx::/64 dev vmbr0  proto kernel  metric 256 
fe80::/64 dev vmbr0  proto kernel  metric 256 
fe80::/64 dev eth0  proto kernel  metric 256 
fe80::/64 dev tap200i0  proto kernel  metric 256 
fe80::/64 dev tap200i1  proto kernel  metric 256 
fe80::/64 dev tap200i2  proto kernel  metric 256 
fe80::/64 dev tap201i0  proto kernel  metric 256 
fe80::/64 dev tap101i0  proto kernel  metric 256 
fe80::/64 dev tap101i1  proto kernel  metric 256 
default via 2a00:xxxx:xxxx::1 dev eth0  metric 1024 
ip6tables -L

Code: Alles auswählen

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination       
ping6 vom node zu ipv6.google.com ist ok.

Code: Alles auswählen

ping6 ipv6.google.com
PING ipv6.google.com(fra07s29-in-x01.1e100.net) 56 data bytes
64 bytes from fra07s29-in-x01.1e100.net: icmp_seq=1 ttl=59 time=0.683 ms
64 bytes from fra07s29-in-x01.1e100.net: icmp_seq=2 ttl=59 time=0.722 ms
Konfiguration von einer VM

Debian 8.1

Code: Alles auswählen

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet6 static
address 2a00:xxxx:xxxx::5
netmask 64
gateway 2a00:xxxx:xxxx::1
dns-nameservers 2001:4860:4860::8888
ping6 zu ipv6.google.com schaut so aus.

was mich wundert ist das keine Fehler Meldung beim ping kommt.

Code: Alles auswählen

ping6 ipv6.google.com
PING ipv6.google.com(fra02s18-in-x03.1e100.net) 56 data bytes
Ich hoffe jemand hier hat eine Idee.

Gruss Xopen

Antworten