Hi,
I am trying to enable IPv6 on my servers. I got an IPv6 subnet for my server: 2001:41D0:2:C46e::/64
There are two servers running with OpenVZ and one Windows server with KVM.
I entered one of my IPv6 address in the Windows network settings, also the gateway, which is 2001:41D0:2:CFF:FF:FF:FF:FF. On this machine, IPv6 works like expected.
But if I try to add an IPv6 address to my host system or to one of my OpenVZ machines, I now get the error
I tried to set it up with this tutorial: http://forum.ovh.co.uk/showpost.php?p=26659&postcount=6
but that doesn't seem to work. The content of my /etc/network/interfaces file:
Output of ifconfig shows this:
The output of route -6 gives this:
I also tried to add a route with
or similar, but nothing worked. Btw. 2001:41d0:2:cff:ff:ff:ff:ff is the gateway.
I don't know what the problem is, on my other server running debian 6.0 also running at ovh I just added
to /etc/network/interfaces and IPv6 worked.
It would be great if one of you could help me with solving the problem. If there's some information missing, just let me know and I will add them.
And if there's something weird in the configuration, that may be because I played around with the settings a bit.
Thanks in advance for your help!
I am trying to enable IPv6 on my servers. I got an IPv6 subnet for my server: 2001:41D0:2:C46e::/64
There are two servers running with OpenVZ and one Windows server with KVM.
I entered one of my IPv6 address in the Windows network settings, also the gateway, which is 2001:41D0:2:CFF:FF:FF:FF:FF. On this machine, IPv6 works like expected.
But if I try to add an IPv6 address to my host system or to one of my OpenVZ machines, I now get the error
Code:
root@ks380351:~# ping6 ipv6.google.com
connect: Network is unreachable
but that doesn't seem to work. The content of my /etc/network/interfaces file:
Code:
auto lo
iface lo inet loopback
# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0
# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
address 188.165.249.110
netmask 255.255.255.0
network 188.165.249.0
broadcast 188.165.249.255
gateway 188.165.249.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
iface eth0 inet6 static
address fe80::225:90ff:fe22:423e
netmask 64
Code:
root@ks380351:~# ifconfig
dummy0 Link encap:Ethernet Hardware Adresse 8e:03:5b:a4:3c:db
inet6-Adresse: fe80::8c03:5bff:fea4:3cdb/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING NOARP MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 B) TX bytes:2576 (2.5 KiB)
eth0 Link encap:Ethernet Hardware Adresse 00:25:90:22:42:3e
inet6-Adresse: fe80::225:90ff:fe22:423e/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:6262978 errors:0 dropped:0 overruns:0 frame:0
TX packets:945235 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:1443064759 (1.3 GiB) TX bytes:589559829 (562.2 MiB)
Interrupt:16 Speicher:fbce0000-fbd00000
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:120319 errors:0 dropped:0 overruns:0 frame:0
TX packets:120319 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:35707468 (34.0 MiB) TX bytes:35707468 (34.0 MiB)
tap101i0d0 Link encap:Ethernet Hardware Adresse fe:bb:82:f2:ad:e8
inet6-Adresse: fe80::fcbb:82ff:fef2:ade8/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metrik:1
RX packets:1571 errors:0 dropped:0 overruns:0 frame:0
TX packets:4913 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:500
RX bytes:135545 (132.3 KiB) TX bytes:905520 (884.2 KiB)
venet0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6-Adresse: fe80::1/128 Gültigkeitsbereich:Verbindung
UP BROADCAST PUNKTZUPUNKT RUNNING NOARP MTU:1500 Metrik:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:424 (424.0 B) TX bytes:564 (564.0 B)
vmbr0 Link encap:Ethernet Hardware Adresse 00:25:90:22:42:3e
inet Adresse:188.165.249.110 Bcast:188.165.249.255 Maske:255.255.255.0
inet6-Adresse: fe80::225:90ff:fe22:423e/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:15938 errors:0 dropped:0 overruns:0 frame:0
TX packets:20487 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:1129833 (1.0 MiB) TX bytes:22515293 (21.4 MiB)
vmbr1 Link encap:Ethernet Hardware Adresse 8e:03:5b:a4:3c:db
inet6-Adresse: fe80::8c03:5bff:fea4:3cdb/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 B) TX bytes:368 (368.0 B)
Code:
root@ks380351:~# route -6
Kernel-IPv6-Routentabelle
Destination Next Hop Flag Met Ref Use If
2001:41d0:2:c46e::3:1/128 :: U 1024 0 0 venet0
2001:41d0:2:c46e::3:2/128 :: U 1024 0 0 venet0
2001:41d0:2:c46e::3:3/128 :: U 1024 0 0 venet0
fe80::1/128 :: U 256 0 0 venet0
fe80::/64 :: U 256 0 0 venet0
fe80::/64 :: U 256 0 0 dummy0
fe80::/64 :: U 256 0 0 vmbr1
fe80::/64 :: U 256 0 0 vmbr0
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 tap101i0d0
::/0 :: !n -1 1 646 lo
::1/128 :: Un 0 1 113 lo
fe80::/128 :: Un 0 1 0 lo
fe80::/128 :: Un 0 1 0 lo
fe80::/128 :: Un 0 1 0 lo
fe80::/128 :: Un 0 1 0 lo
fe80::/128 :: Un 0 1 0 lo
fe80::1/128 :: Un 0 1 0 lo
fe80::225:90ff:fe22:423e/128 :: Un 0 1 3 lo
fe80::225:90ff:fe22:423e/128 :: Un 0 1 6 lo
fe80::8c03:5bff:fea4:3cdb/128 :: Un 0 1 0 lo
fe80::8c03:5bff:fea4:3cdb/128 :: Un 0 1 0 lo
fe80::fcbb:82ff:fef2:ade8/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 venet0
ff00::/8 :: U 256 0 0 dummy0
ff00::/8 :: U 256 0 0 vmbr1
ff00::/8 :: U 256 0 0 vmbr0
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 tap101i0d0
::/0 :: !n -1 1 646 lo
Code:
/sbin/ip -6 route add 2001:41D0:2:C46e::/64 via 2001:41d0:2:cff:ff:ff:ff:ff
or
/sbin/ip -6 route add 2001:41D0:2:C46e::/64 dev eth0
I don't know what the problem is, on my other server running debian 6.0 also running at ovh I just added
Code:
iface eth0 inet6 static
address 2001:41D0:xxx/64
netmask 64
It would be great if one of you could help me with solving the problem. If there's some information missing, just let me know and I will add them.
And if there's something weird in the configuration, that may be because I played around with the settings a bit.
Thanks in advance for your help!