Hi,<br>
Just to add to that,<br>
I get the following error while i type /etc/init.d/network restart<br>
<span> [<a href="mailto:root@server" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@server</a> 
~]# /etc/init.d/network restart<br>&nbsp;Shutting down interface venet0: [ OK 
]<br>&nbsp;Shutting down loopback interface: [ OK ]<br>&nbsp;Setting network 
parameters: net.ipv4.ip_forward = 0<br>&nbsp;error: unknown error 1 setting key 
'net.ipv4.conf.default.rp_filter'<br>&nbsp;error: unknown error 1 setting key 
<br>&nbsp;'net.ipv4.conf.default.accept_source_route'<br>&nbsp;error: unknown 
error 1 setting key 'kernel.sysrq'<br>&nbsp;error: unknown error 1 setting key 
'kernel.core_uses_pid'<br>&nbsp;[FAILED]<br>&nbsp;Bringing up loopback interface: 
[ OK ]<br>&nbsp;Bringing up interface venet0: [ OK ]<br><br>&nbsp;This Failed 
line appears.<br>
Can anyone suggest that why does the VPS fails to do network restart.<br>
Thanks,<br>
Abhishek jain<br>
</span><br><div><span class="gmail_quote">On 5/17/06, <b class="gmail_sendername">abhishek jain</b> &lt;<a href="mailto:mail@ejain.com">mail@ejain.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,<br>
No the nameserver does not seem to be the problem , as i have already configured that.<br>
i have already had a entry at /etc/resolv.conf .<br>
I think the problem like in some setting for the default gateway and like.<br>
I am not sure,but that seems to be the problem to me, Can anyone suggest the right network settings for the same.<br>
Also the error i get when wget is:<br>
<br>
-bash-3.00# wget <a href="http://yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">yahoo.com</a><br>
--20:57:42--&nbsp; <a href="http://yahoo.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://yahoo.com/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; `index.html'<br>
Resolving yahoo.com... failed: Temporary failure in name resolution.<br>
<br>
Also this does not seem to be a firewall issue as i have not set up a firewall<br>
Thanks<br>
--<br>
Thanks,<br></div><div><span class="sg">
Abhishek jain </span></div><div><span class="e" id="q_10b4012c644c4c7b_2"><br><br><div><span class="gmail_quote">On 5/17/06,&nbsp;<b class="gmail_sendername"></b> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><span>(1) From inside VE, you do not need to configure any 
sysctl parameters.<br><br>(2) Probably the reason why you can not reach any 
hosts from inside VE <br>is you forgot to set VE's nameserver. Please do the 
following:<br>a. on the host system, check your nameserver(s) IP 
address(es):<br># grep nameserver /etc/hosts<br>It should print one or more 
lines in the form<br>nameserver x.x.x.x<br>where x.x.x.x is an IP address.<br>b. 
Set that (those) address(es) to be VE's nameserver(s):<br># vzctl set VEID 
--nameserver x.x.x.x [--nameserver y.y.y.y] --save<br><br>In fact, just one 
nameserver should be sufficient.<br><br>(3) For the next time, please provide 
more details. Here you wrote:<br><br>&gt; cannot ping or wget anyfile while 
inside the VPS.<br><br>It would be great to show some examples here. Say, if 
nameserver is not <br>set, the error from ping or wget would be like &quot;Temporary 
failure in <br>name resolution&quot; or &quot;Unable to resolve hostname xxxx.tld&quot;. Since 
you do <br>not give details here, we have to 
guess.<br><br>Regards,<br>Kir.<br><br>abhishek jain wrote:<br><br>&gt;&gt;&gt;On 
Tue, May 16, 2006 at 08:08:14AM +0530, abhishek jain wrote:<br>&gt;&gt;&gt; 
Hi,<br>&gt;&gt; &gt;I add vps via the process listed at quick install guide, i 
can <br>&gt; access the<br>&gt;&gt;&gt; vps via the server on which it is hosted 
, but when accessing from <br>&gt; outside<br>&gt;&gt;&gt; using the assigned IP 
i access the server and not the VPS.<br>&gt;&gt;&gt; I can see the ip assigned 
to VPS in /sbin/ifconfig of the server.<br>&gt;<br>&gt;&gt;Make 
sure<br>&gt;&gt;<br>&gt;&gt;# sysctl 
net.ipv4.ip_forward<br>&gt;&gt;<br>&gt;&gt;prints 1. If it doesn't, set it 
with<br>&gt;<br>&gt;&gt;# sysctl net.ipv4.ip_forward=1<br>&gt;<br>&gt;&gt;To 
have it set on every boot you need to tweak a config file 
depending<br>&gt;&gt;on the distro you're using. E.g. for RedHat-based distros 
(RHEL,<br>&gt;&gt;Fedora, CentOS) this is 
/etc/sysctl.conf.<br>&gt;&gt;<br>&gt;&gt;IIRC this is mentioned in the 
installation guide.<br>&gt;<br>&gt;&gt;Roman.<br>&gt;<br>&gt; hi,<br>&gt; 
Actually the problem solved by deleting the IP from the main system.<br>&gt; Now 
another problem arised that i can access the VPS from outside but <br>&gt; 
cannot ping or wget anyfile while inside the VPS.<br>&gt; I see the document and 
it was written<br>&gt;<br>&gt; sysctl ?w net.ipv4.tcp_ecn=0<br>&gt;<br>&gt; I 
did this both on the VPS and in the Server still no result.<br>&gt;<br>&gt; Also 
i get the following error when i start the network while inside <br>&gt; the VPS 
:<br>&gt;<br>&gt; [<a href="mailto:root@server" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@server</a> 
~]# /etc/init.d/network restart<br>&gt; Shutting down interface venet0: [ OK 
]<br>&gt; Shutting down loopback interface: [ OK ]<br>&gt; Setting network 
parameters: net.ipv4.ip_forward = 0<br>&gt; error: unknown error 1 setting key 
'net.ipv4.conf.default.rp_filter'<br>&gt; error: unknown error 1 setting key 
<br>&gt; 'net.ipv4.conf.default.accept_source_route'<br>&gt; error: unknown 
error 1 setting key 'kernel.sysrq'<br>&gt; error: unknown error 1 setting key 
'kernel.core_uses_pid'<br>&gt; [FAILED]<br>&gt; Bringing up loopback interface: 
[ OK ]<br>&gt; Bringing up interface venet0: [ OK ]<br>&gt;<br>&gt; This Failed 
line appears.<br>&gt;<br>&gt; Pl. help,<br>&gt; Thanks,<br>&gt; Abhishek 
jain<br>&gt;<br>&gt; 
------------------------------------------------------------ 
------------<br>&gt;</span>

</div></blockquote></div><br>

</span></div></blockquote></div><br>