OpenVZ Forum


Home » General » Support » Problem with tun interface...even after following docs
Problem with tun interface...even after following docs [message #36994] Fri, 07 August 2009 19:33 Go to previous message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member

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
 
Read Message
Read Message
Read Message
Previous Topic: Help Me Please my /boot filesystem Full
Next Topic: Assigning an IP address to venet0 on the HN
Goto Forum:
  


Current Time: Thu Nov 07 18:33:12 GMT 2024

Total time taken to generate the page: 0.03258 seconds