IPv6 Problem [message #42935] |
Mon, 20 June 2011 22:22 |
virtualmarc
Messages: 2 Registered: June 2011 Location: Germany
|
Junior Member |
|
|
Hallo OpenVZ Community,
ich wollte einer OpenVZ VE eine IPv6 hinzufügen.
Auf meinem Hostsystem bekomme ich ein natives /64'er IPv6 Netz.
Vom Hostsystem kann ich problemlos über IPv6 aufs Internet zugreifen, aus der VE raus funktioniert es nicht.
Hier mal meine Einstellungen:
[Host] ifconfig eth0:
Quote:eth0 Link encap:Ethernet HWaddr 00:24:21:5f:1e:9c
inet addr:188.40.37.68 Bcast:188.40.37.127 Mask:255.255.255.192
inet6 addr: 2a01:4f8:100:12a8::2/64 Scope:Global
inet6 addr: fe80::224:21ff:fe5f:1e9c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10172815 errors:0 dropped:0 overruns:0 frame:0
TX packets:11768660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7440998458 (6.9 GiB) TX bytes:2658080635 (2.4 GiB)
Interrupt:249 Base address:0xc000
[Host] route -6
Quote:Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
2a01:4f8:100:12a0::1/128 :: U 1024 0 2 eth0
2a01:4f8:100:12a8::3/128 :: U 1024 0 0 venet0
2a01:4f8:100:12a8::/64 :: U 256 0 0 eth0
fe80::1/128 :: U 256 0 0 venet0
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 venet0
::/0 2a01:4f8:100:12a0::1 UG 1024 1 272 eth0
::/0 :: U 1024 0 0 venet0
::/0 :: !n -1 1 17971 lo
::1/128 :: Un 0 1 227 lo
2a01:4f8:100:12a8::/128 :: Un 0 1 0 lo
2a01:4f8:100:12a8::2/128 :: Un 0 1 971 lo
fe80::/128 :: Un 0 1 0 lo
fe80::1/128 :: Un 0 1 0 lo
fe80::224:21ff:fe5f:1e9c/128 :: Un 0 1 446 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 venet0
::/0 :: !n -1 1 17971 lo
[Host] /etc/sysctl.conf
Quote:## Hetzner Online AG installimage
# sysctl config
net.ipv4.ip_forward=1
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
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.all.forwarding = 1
net.ipv6.ip_forward=1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1
[Host] ping6 ipv6.google.com
Quote:PING ipv6.google.com(fra07s07-in-x68.1e100.net) 56 data bytes
64 bytes from fra07s07-in-x68.1e100.net: icmp_seq=1 ttl=57 time=18.9 ms
64 bytes from fra07s07-in-x68.1e100.net: icmp_seq=2 ttl=57 time=18.9 ms
^C
--- ipv6.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1005ms
rtt min/avg/max/mdev = 18.909/18.938/18.967/0.029 ms
[VE] ifconfig
Quote:lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:256 errors:0 dropped:0 overruns:0 frame:0
TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27575 (26.9 KiB) TX bytes:27575 (26.9 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:1336 errors:0 dropped:0 overruns:0 frame:0
TX packets:1511 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:170288 (166.2 KiB) TX bytes:239860 (234.2 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:188.40.37.97 P-t-P:188.40.37.97 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
[VE] route -6
Quote:Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::/0 :: U 1024 0 0 venet0
::/0 :: !n -1 1 126 lo
::1/128 :: Un 0 1 98 lo
::/0 :: !n -1 1 126 lo
[VE] ping6 ipv6.google.com
Quote:PING ipv6.google.com(fra07s07-in-x68.1e100.net) 56 data bytes
^C
--- ipv6.google.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5013ms
Hat jemand eine idee, wie ich das Problem lösen kann?
Ich habe der VE die IPv6 mit
Quote:vzctl set 101 --ipadd 2a01:4f8:100:12a8::3 --save
zugewiesen.
Mfg,
Marc V.
|
|
|
|
|
|