Então eu tenho um roteador Ubuntu 10.04 que está tunelando ipv6 para furacão elétrico. Tem perfeitamente conectividade ipv6. Meu problema é que eu quero que minha máquina Ubuntu 10.04 seja capaz de se conectar (pelo menos para o roteador, depois para fora) via ipv6. Como faço isso?
informação:
Eu configurei o ipv6 usando:
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::a.b.c.d
ifconfig sit1 up
ifconfig sit1 inet6 add 2001:xxxx:yyyy:zzzz::2/64
route -A inet6 add ::/0 dev sit1
ifconfig no roteador:
eth0 Link encap:Ethernet HWaddr 00:02:55:f9:7a:c1
inet addr:192.168.1.x Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:55ff:fef9:7ac1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10813 errors:0 dropped:0 overruns:0 frame:0
TX packets:11016 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3081850 (3.0 MB) TX bytes:1399231 (1.3 MB)
eth1 Link encap:Ethernet HWaddr 00:0a:cd:19:37:e1
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20a:cdff:fe19:37e1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5209 errors:0 dropped:0 overruns:0 frame:0
TX packets:4147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:724340 (724.3 KB) TX bytes:2392799 (2.3 MB)
Interrupt:16 Base address:0x3000
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:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7413 (7.4 KB) TX bytes:7413 (7.4 KB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::192.168.1.x/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::10.0.0.1/96 Scope:Compat
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: fe80::c0a8:14b/64 Scope:Link
inet6 addr: 2001:xxxx:yyyy:zzzz::2/64 Scope:Global
inet6 addr: fe80::a00:1/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:6034 errors:0 dropped:0 overruns:0 frame:0
TX packets:6103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500568 (500.5 KB) TX bytes:482704 (482.7 KB)
Qualquer ajuda seria apreciada.
editar:
# ip -6 route show
::/96 via :: dev sit0 metric 256 mtu 1480 advmss 1420 hoplimit 0
2001:xxxx:yyyy:zzzz::/64 via :: dev sit1 proto kernel metric 256 mtu 1480 advmss 1420 hoplimit 0
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0
fe80::/64 via :: dev sit1 proto kernel metric 256 mtu 1480 advmss 1420 hoplimit 0
default dev sit1 metric 1 mtu 1480 advmss 1420 hoplimit 0
# ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::202:55ff:fef9:7ac1/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::20a:cdff:fe19:37e1/64 scope link
valid_lft forever preferred_lft forever
5: sit0: <NOARP,UP,LOWER_UP> mtu 1480
inet6 ::10.0.0.1/96 scope global
valid_lft forever preferred_lft forever
inet6 ::192.168.1.x/96 scope global
valid_lft forever preferred_lft forever
inet6 ::127.0.0.1/96 scope host
valid_lft forever preferred_lft forever
6: sit1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480
inet6 2001:xxxx:yyyy:zzzz::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::a00:1/64 scope link
valid_lft forever preferred_lft forever
inet6 fe80::c0a8:14b/64 scope link
valid_lft forever preferred_lft forever