TUN device in VE [message #27326] |
Thu, 14 February 2008 19:20 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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
|
|
|
|
|