<span class="MsgBodyText">>>On Tue, May 16, 2006 at 08:08:14AM +0530, abhishek jain
wrote:<br>>> Hi,<br>> >I add vps via the process listed at quick install
guide, i can access the<br>>> vps via the server on which it is hosted , but
when accessing from outside<br>>> using the assigned IP i access the server
and not the VPS.<br>>> I can see the ip assigned to VPS in /sbin/ifconfig of
the server.<br><br>>Make sure <br>><br>># sysctl net.ipv4.ip_forward<br>><br>>prints
1. If it doesn't, set it with<br><br>># sysctl net.ipv4.ip_forward=1<br><br>>To
have it set on every boot you need to tweak a config file depending<br>>on the
distro you're using. E.g. for RedHat-based distros (RHEL,<br>>Fedora, CentOS)
this is /etc/sysctl.conf.<br>><br>>IIRC this is mentioned in the installation
guide.<br><br>>Roman.<br>
<br>
hi,<br>
Actually the problem solved by deleting the IP from the main system.<br>
Now another problem arised that i can access the VPS from outside but cannot ping or wget anyfile while inside the VPS.<br>
I see the document and it was written<br>
<br>
sysctl –w net.ipv4.tcp_ecn=0<br>
<br>
I did this both on the VPS and in the Server still no result.<br>
<br>
Also i get the following error when i start the network while inside the VPS :<br>
<br>
[root@server ~]# /etc/init.d/network restart<br>
Shutting down interface
venet0:
[ OK ]<br>
Shutting down loopback
interface:
[ OK ]<br>
Setting network parameters: net.ipv4.ip_forward = 0<br>
error: unknown error 1 setting key 'net.ipv4.conf.default.rp_filter'<br>
error: unknown error 1 setting key 'net.ipv4.conf.default.accept_source_route'<br>
error: unknown error 1 setting key 'kernel.sysrq'<br>
error: unknown error 1 setting key 'kernel.core_uses_pid'<br>
[FAILED]<br>
Bringing up loopback
interface:
[ OK ]<br>
Bringing up interface
venet0:
[ OK ]<br>
<br>
This Failed line appears.<br>
<br>
Pl. help,<br>
Thanks,<br>
Abhishek jain<br>
</span>