Knowledgebase

ping problem in vps xen

Posted by robocap, 07-08-2008, 12:06 PM
Hello i install one xen guest ( centos5) i run yum update and result is : -bash-3.1# yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=extras error was [Errno 4] IOError: Error: Cannot find a valid baseurl for repo: extras i use of middle config : /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.0.255 IPADDR=192.168.0.13 IPV6ADDR= IPV6PREFIX= NETMASK=255.255.255.0 NETWORK=192.168.0.0 ONBOOT=yes /etc/sysconfig/network NETWORKING=yes HOSTNAME=myhost.l3i.ca GATEWAY=192.168.0.1 /etc/resolv.conf (DNS resolver) nameserver 4.2.2.1 Thanks nameserver 4.2.2.2

Posted by Lsupport, 07-08-2008, 01:32 PM
Append this to your yum.conf and try yum update

Posted by tinkertim, 07-08-2008, 01:36 PM
Sounds like you forgot to set nameservers (or set only one) in /etc/resolv.conf within the VPS Try adding these : nameserver 4.2.2.2 nameserver 4.2.2.3 These might be slow for you, but will work until you can get local name servers from your datacenter or ISP.

Posted by robocap, 07-08-2008, 01:36 PM
Hello yet i can`t ping google.com and problem with ping 192.168.0.1 -bash-3.1# ping google.com -bash-3.1# ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. From 192.168.0.13 icmp_seq=1 Destination Host Unreachable From 192.168.0.13 icmp_seq=2 Destination Host Unreachable From 192.168.0.13 icmp_seq=3 Destination Host Unreachable From 192.168.0.13 icmp_seq=4 Destination Host Unreachable From 192.168.0.13 icmp_seq=5 Destination Host Unreachable From 192.168.0.13 icmp_seq=6 Destination Host Unreachable thanks

Posted by robocap, 07-08-2008, 01:40 PM
i add 4.2.2.1 and ... but don`t solved i take ping of this ip : -bash-3.1# ping 4.2.21 PING 4.2.21 (4.2.0.21) 56(84) bytes of data. From 192.168.0.13 icmp_seq=1 Destination Host Unreachable From 192.168.0.13 icmp_seq=2 Destination Host Unreachable From 192.168.0.13 icmp_seq=3 Destination Host Unreachable



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Secureing a Proxy (Views: 560)


Language:

Client Login

Email

Password

Remember Me

Search