Linux myhost.com 2.6.18-194.8.1.el5.028stab070.2PAE #1 SMP Tue Jul 6 15:30:49 MSD 2010 i686 i686 i386 GNU/Linux
CentOS release 5.5 (Final)
on host node:
# lsmod | grep tun
tun 23168 0
another user in this forum lists theirs as :
mine is missing the vzrst,vzcpt
do I need this? If so what should I do?
/etc/sysconfig/modules/tun:
#!/bin/sh
/sbin/modprobe tun
inside ve :
# lsmod | grep tun
# lsmod
Module Size Used by
#
I've done all the steps listed in various how-to's. I've done:
vzctl set 101 --devices c:10:200:rw --save
vzctl set 101 --capability net_admin:on --save
vzctl exec 101 mkdir -p /dev/net
vzctl exec 101 mknod /dev/net/tun c 10 200
vzctl exec 101 chmod 600 /dev/net/tun
rebooted, etc.
My questions (as a first part of trouble shooting):
if tun is enabled on the ve, should it show up when I do an lsmod in the ve?
is it odd that lsmod on the ve shows no modules at all?
Thanks for all help!
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
KMEMSIZE="15252512:15252512"
LOCKEDPAGES="256:256"
PRIVVMPAGES="1000000000:1000000000"
SHMPAGES="21504:21504"
NUMPROC="400:400"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="20971520:23068680"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-5-x86"
ORIGIN_SAMPLE="basic"
NAMESERVER="x.x.x.x"
IP_ADDRESS="x.x.x.x"
HOSTNAME="host.com"
DEVICES="c:10:200:rw "
CAPABILITY="NET_ADMIN:on "
IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ipt_state iptable_nat ip_nat_ftp "
[Updated on: Tue, 31 August 2010 20:09]
Report message to a moderator