Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-22-2008, 05:14 AM   #1
LQ Newbie
Registered: May 2005
Location: Malaysia
Distribution: Fedora Core 4, SUSE Professional 9.2
Posts: 10

Rep: Reputation: 0
Fail to ping using terminal

Hi all,

Just set up a RHEL4 on a Sun V20z and hit a small issue. When try to ping web site (Google etc), there is no response coming back.

This is the first time I setup a Linux box within an organization network, and am unsure whether config files are correctly set.

A little info of the network environment.
(1) A network switch,
(2) A proxy, use this to connect to Internet,
(3) Eth0 is up, as static IP, default gateway IP, class subnet mask, are set
(4) Browser points to proxy, Google page shown up, but failed pinging it via terminal.

Have been using Linux for a few years but not familiar with networking stuff (DNS config etc). My first guess to the issue would be domain name could not be resolved. Result of Googling leads me to think...

(1) What to do with /etc/resolv.conf?
(2) Terminal does not work with proxy?
(3) Something to do with DNS?

Please advice. Thanks.
Old 02-22-2008, 05:37 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well if the domain name can't be resolved then the ping command would explicitly tell you that. if it was resolved then you'd see the ip and a number of timeouts.

normally a server should *NOT* be able to reach the internet. that way lies dragons! what your seeing would ideally suggest a well managed security environment. hopefully it's that, but it may well just be a mistake in a shambolically badly configured network... couldn't tell you myself!
Old 02-22-2008, 06:30 AM   #3
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Actually, "ping" doesn't work with proxy. You can probably ping your proxy, though.

You see, supporting proxy is a complex thing. Kopete from KDE didn't support it either, last time I checked. It has nothing to do with terminal.

If you really want to make your non-proxy programs proxy aware, setup a transparent firewall.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
both eth0 and eth1 ping fail when one ethernet cable is unplugged powah Linux - Networking 12 04-10-2007 02:54 PM
Fail to ping satimis Linux - Server 72 01-16-2007 10:26 PM
ping fail from local lan to IPCop mrpc_cambodia Linux - General 3 04-03-2006 04:32 PM
ping lab machine fail but internet ok powah Linux - Networking 1 10-11-2005 10:50 AM
Ping continues to fail after remote host recovers cahenesy Linux - Networking 7 04-19-2004 03:16 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration