OpenVZ Forum


Home » General » Support » TUN device in VE
TUN device in VE [message #27326] Thu, 14 February 2008 19:20 Go to previous message
yoolee is currently offline  yoolee
Messages: 23
Registered: November 2007
Junior Member
Hi, all

I am doing a large-scale openvpn performance test, of course on an OpenVZ-based environment. What I want to do is create 1,000 VEs with one openvpn client in each of them. These openvpn clients will connect to a remote openvpn server.

At first I try to run vpn client on hardware node, and move the tun device to a VE by using vzctl set 101 --netdev_add tun0 (I have modified openvpn a little bit). But that command failed as: "Bad parameter ...". Why I did so is to put tun device in VE and the corresponding openvpn process in HN, so it can access to the remote vpn server. And I don't want to use NAT because it will incur additional overhead.

I'am using the kernel 2.6.18-fza-028stab051.1-686-bigmem, on a Debian 4.0 host.

Thanks for your help in advance.

-Yue
 
Read Message
Read Message
Read Message
Previous Topic: Help with failed LockPages UBC
Next Topic: NFS server on VE
Goto Forum:
  


Current Time: Wed Nov 06 00:48:50 GMT 2024

Total time taken to generate the page: 0.03478 seconds