OpenVZ Forum


Home » General » Support » VPS doesn't work outsite Node server
Re: VPS doesn't work outsite Node server [message #10966 is a reply to message #10916] Sat, 10 March 2007 16:23 Go to previous messageGo to previous message
xwinner is currently offline  xwinner
Messages: 11
Registered: December 2006
Junior Member
Vasily Tarasov wrote on Wed, 07 March 2007 02:29

Thanks for information, you've posted.

1) This seems to be strange for me:
[root@scrameustache vz]# ip r l
192.168.0.101 dev veth101.0 scope link
192.168.0.101 dev venet0 scope link
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.10 metric 10
default via 192.168.0.1 dev eth0 metric 10
Please, remove routing via venet: you don't use this interface as far as I understand. Note, that this line will automatically appear if you did some time `vzctl set <veid> --ipadd` and config file of VE in question contents IP_ADDRESS="...". So check that it doesn't happen.

2) Also, please, turn off iptables for a while, and check, does it solve the problem.

Thanks,
Vasily




Thanks, i don't konw how exactly remove venet route, is it only in the vps101.conf ?

this is my vps101.conf:

#
# it under the terms of the GNU General Public License as published by
#
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

ONBOOT=yes

# Primary parameters
AVNUMPROC=40:40
NUMPROC=65:65
NUMTCPSOCK=80:80
NUMOTHERSOCK=80:80
VMGUARPAGES=6144:2147483647
# Secondary parameters
KMEMSIZE=2752512:2936012
TCPSNDBUF=319488:524288
TCPRCVBUF=319488:524288
OTHERSOCKBUF=132096:336896
DGRAMRCVBUF=132096:132096
OOMGUARPAGES=6144:2147483647
# Auxiliary parameters
LOCKEDPAGES=32:32
SHMPAGES=8192:8192
PRIVVMPAGES=49152:53575
NUMFILE=2048:2048
NUMFLOCK=100:110
NUMPTY=16:16
NUMSIGINFO=256:256
DCACHESIZE=1048576:1097728

PHYSPAGES=0:2147483647
NUMIPTENT=128:128

DISKSPACE=4500000:4500000
DISKINODES=200000:220000
QUOTATIME=0

# CPU fair sheduler parameter
CPUUNITS=1000
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
OSTEMPLATE=mandriva-2006-i386-minimal
ORIGIN_SAMPLE=vps.basic
#IP_ADDRESS="192.168.0.101"
HOSTNAME="vps101.localdomain."
NAMESERVER="192.168.0.10"
NETIF=ifname=eth0,mac=00:12:34:56:78:9A,host_ifname=veth101. 0,host_mac=00:12:34:56:78:9B
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Question about NUMFILE parameter
Next Topic: compiling kernel without module support
Goto Forum:
  


Current Time: Wed Jul 10 23:27:16 GMT 2024

Total time taken to generate the page: 0.02469 seconds