Re: Re: can access vps from server not from network [message #3196 is a reply to message #3194] |
Wed, 17 May 2006 03:09 |
Lyndsay Roger
Messages: 3 Registered: May 2006
|
Junior Member |
|
|
On Wed, 2006-05-17 at 07:30 +0530, abhishek jain wrote:
> Hi,
> No the nameserver does not seem to be the problem , as i have already
> configured that.
> i have already had a entry at /etc/resolv.conf .
> I think the problem like in some setting for the default gateway and
> like.
> I am not sure,but that seems to be the problem to me, Can anyone
> suggest the right network settings for the same.
> Also the error i get when wget is:
I am also having network problems from a VPS (may or may not be related
to this :-)
I can ping the nameserver for about 10 minutes after it is started and
then it stops.
Any ideas?
See the following -
root@gombadi:~# vzlist
VPSID NPROC STATUS IP_ADDR HOSTNAME
103 19 running 192.168.171.203 vps103.gombadi.com
root@gombadi:~# vzctl enter 103
entered into VPS 103
dircolors: no SHELL environment variable, and no shell type option given
vps103:/# cat /etc/resolv.conf
search gombadi.com
nameserver 192.168.171.237
vps103:/# ping 192.168.171.237
PING 192.168.171.237 (192.168.171.237) 56(84) bytes of data.
--- 192.168.171.237 ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 7998ms
vps103:/# exit
logout
exited from VPS 103
root@gombadi:~# vzctl stop 103
Stopping VPS ...
VPS was stopped
VPS is unmounted
root@gombadi:~# vzctl start 103
Warning: configuration file for distribution deb3.1-xen-base-nokernel.1
not found default used
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.171.203
Setting CPU units: 1000
Set hostname: vps103.gombadi.com
File resolv.conf was modified
VPS start in progress...
root@gombadi:~# vzctl enter 103
entered into VPS 103
dircolors: no SHELL environment variable, and no shell type option given
vps103:/# cat /etc/resolv.conf
search gombadi.com
nameserver 192.168.171.237
vps103:/# date
Wed May 17 12:36:23 EST 2006
vps103:/# ping 192.168.171.237
PING 192.168.171.237 (192.168.171.237) 56(84) bytes of data.
64 bytes from 192.168.171.237: icmp_seq=1 ttl=63 time=0.204 ms
64 bytes from 192.168.171.237: icmp_seq=2 ttl=63 time=0.170 ms
64 bytes from 192.168.171.237: icmp_seq=3 ttl=63 time=0.175 ms
64 bytes from 192.168.171.237: icmp_seq=4 ttl=63 time=0.168 ms
--- 192.168.171.237 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.168/0.179/0.204/0.017 ms
vps103:/# date
Wed May 17 12:45:53 EST 2006
vps103:/# ping -c 1 192.168.171.237
PING 192.168.171.237 (192.168.171.237) 56(84) bytes of data.
--- 192.168.171.237 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
vps103:/# cat /etc/resolv.conf
search gombadi.com
nameserver 192.168.171.237
|
|
|