[Users] IPv6 again but this time with veth

Jan Tomasek jan at tomasek.cz
Fri Jun 29 04:53:41 EDT 2007


Vitaliy Gusev wrote:
> venet device works with IPv6!
> Describe steps which you did for venet device. 

I created VE 233005:
	IPv4=195.113.233.5
	IPv6=2001:718:1:e::23:3005

IPv4 is working ok.

When I try to add IPv6 I get:

staj-dev:~# vzctl set 233005 --ipadd '2001:718:1:e::23:3005' --save
Adding IP address(es): 2001:718:1:e::23:3005
Failed to bring up venet0:1.
Configure meminfo: 49152
Saved parameters for VE 233005

> staj-dev:~# vzctl enter 233005
> entered into VE 233005
> root at ipv6-pokus:/# ifconfig -a
> 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: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)
> 
> 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: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)
> 
> venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
>           inet addr:195.113.233.5  P-t-P:195.113.233.5  Bcast:0.0.0.0  Mask:255.255.255.255
>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

There is no venet0:1 inside  of VE 233005.

-- 
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/


More information about the Users mailing list