LinuxForum.Fans
Тема

IPv6 в контейнере Openvz

Автор: Wave 1 сообщений 1618 просмотров
#229960

Настраиваю по этому ховту

http://code.google.com/p/tb-tun/wiki/HOWTO
Но как я понял не создается интерфейс tb
сам хостер не выдает ipv6 только сторонними сервисами

text

root@cla12:~# cd /root
root@cla12:~# apt-get install iproute gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
iproute is already the newest version.
The following package was automatically installed and is no longer required:
libjudydebian1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cla12:~# wget [url]http://tb-tun.googlecode.com/files/tb-tun_r14.tar.gz[/url]
--2012-02-16 17:40:48-- [url]http://tb-tun.googlecode.com/files/tb-tun_r14.tar.gz[/url]
Resolving tb-tun.googlecode.com... 74.125.79.82
Connecting to tb-tun.googlecode.com|74.125.79.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3112 (3,0K) [application/x-gzip]
Saving to: `tb-tun_r14.tar.gz.2'

100%[======================================>] 3 112 --.-K/s in 0s

2012-02-16 17:40:48 (11,1 MB/s) - `tb-tun_r14.tar.gz.2' saved [3112/3112]

root@cla12:~# tar zxf tb-tun_r14.tar.gz root@cla12:~# gcc tb_userspace.c -l pthread -o tb_userspace root@cla12:~# setsid ./tb_userspace tb 216.66.80.30 80.ХХ.ХХ.Х4 sit > /dev/null root@cla12:~# ifconfig tb up tb: ERROR while getting interface flags: No such device root@cla12:~# ifconfig tb inet6 add 2001:470:1f0a:4b2::2/64 SIOGIFINDEX: No such device root@cla12:~# ifconfig tb mtu 1480 SIOCSIFMTU: No such device root@cla12:~# route -A inet6 add ::/0 dev tb SIOGIFINDEX: No such device

Войдите или зарегистрируйтесь, чтобы ответить.