OpenVZ Forum


Home » International » Russian » Проблемы с ipv6
Проблемы с ipv6 [message #45194] Wed, 08 February 2012 20:01
wavedocs is currently offline  wavedocs
Messages: 2
Registered: February 2012
Location: Moscow
Junior Member

From: *135.93.85.IN-ADDR.ARPA.icosmos.ru
Настраиваю ipv6 на vps

для контейнера прописываю

[root@clinuxm ~]# vzctl set 12578 --features sit:on --save
Unable to set features on a running container
WARNING: Some of the parameters could not be applied to a running container.
Please consider using --setmode option
Saved parameters for CT 12578
[root@linux ~]# vzctl set 12578 --capability net_admin:on --save
Unable to set capability on a running container
WARNING: Some of the parameters could not be applied to a running container.
Please consider using --setmode option
Saved parameters for CT 12578
[root@linux ~]# vzctl restart 12578
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container ...
Container is mounted
Adding IP address(es): 80.241.49.34
Setting CPU limit: 58
Setting CPU units: 1000
Setting CPUs: 1
Setting devices
Container start in progress..

На vps sit0 появился прописал:

ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::216.66.80.30
ifconfig sit1 up
ifconfig sit1 inet6 add 2001:470:1f0a:4b2::2/64
route -A inet6 add ::/0 dev sit1

root@cla12:/home/wavedocs# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...done.

Пингую
root@cla12:/home/wavedocs# ping6 ipv6.google.com
PING ipv6.google.com(fra07s07-in-x93.1e100.net) 56 data bytes
^Z
[1]+ Stopped ping6 ipv6.google.com

и при рестарте vps все настройки sit0 в interface стираются.
Previous Topic: Семинары/конференции/мастерклассы?
Next Topic: Проблемы с ipv6
Goto Forum:
  


Current Time: Thu Dec 14 20:54:43 GMT 2017