Ok, i figured out the issue , Did some google on it and found this useful link on usage of proxy. http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/ Thanks Kwan , Thanks kwan for questioning me on the proxy usage. Thanks Jatin On 4/2/2010 10:51 AM, Jatin Davey wrote: > Hi Kwan > > I executed the following on the host that was having problem: > > [root at localhost yum.repos.d]# wget http://www.google.com > --22:14:25-- http://www.google.com/ > Resolving www.google.com... 74.125.19.105, 74.125.19.99, 74.125.19.106, ... > Connecting to www.google.com|74.125.19.105|:80... failed: Connection > timed out. > Connecting to www.google.com|74.125.19.99|:80... failed: Connection > timed out. > > Which shows that i am not getting connected to the internet. > > Now coming to the second point on whether i am using a proxy or not ? , > I really dont know whether i am using a proxy or not. When i used a > similar CentOS box on which i was successful in connecting to the > internet i issues the same command as mentioned above and it got > connected and downloaded the web file. > > How do i find whether i have proxy configured on the host that is > connecting to the internet ? > If you can guide me through this then i can replicate the configuration > from the above host to the hosts that are not getting connected to the > internet. > > Thanks > Jatin > > On 4/2/2010 10:28 AM, Kwan Lowe wrote: > >> On Thu, Apr 1, 2010 at 11:38 PM, Jatin Davey<jashokda at cisco.com> wrote: >> >> >>> Hi >>> >>> I wanted to download and install the net-snmp package. Usually on my >>> other CentOS boxes i use the following command to do it: >>> >>> yum install net-snmp >>> >>> I was able to successfully install net-snmp on 4 of my CentOS boxes but >>> not on one of them. It reports me the following error message: >>> >>> [root at localhost yum.repos.d]# yum install net-snmp >>> Loaded plugins: fastestmirror >>> Determining fastest mirrors >>> Could not retrieve mirrorlist >>> http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was >>> [Errno 4] IOError:<urlopen error (110, 'Connection timed out')> >>> Error: Cannot find a valid baseurl for repo: base >>> >>> >>> >> Can you access the internet from that machine? Do you require a proxy >> to connect? >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> >> >> > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >