Guys,
I followed the documentation religiously to enable tun in my containers. It once worked, but at some point along the way (possibly through yum updates) became broken. My system is CentOS 5.2. Here's what I get from within the VE:
# ifconfig tun0 192.168.2.3 pointopoint 192.168.2.4
SIOCSIFADDR: No such device
tun0: unknown interface: No such device
SIOCSIFDSTADDR: No such device
tun0: unknown interface: No such device
# file /dev/net/tun
/dev/net/tun: character special (10/200)
# ls -l /dev/net/tun
crw------- 1 root root 10, 200 Nov 26 2008 /dev/net/tun
And now in the host:
# lsmod | grep tun
tun 47872 0
# uname -r -v
2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 18:54:51 MSD 2009
# cat /etc/vz/conf/102.conf | grep -E 'DEVICE|CAPABILITY'
DEVICES="c:10:200:rw "
CAPABILITY="NET_ADMIN:on "
Anyone else seeing this? Can you help?
Thanks!
jbwiv