LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-22-2008, 06:14 AM   #1
f1l3t0f1sh
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, 190.100.92.1
(2) A proxy, use this to connect to Internet, 190.100.90.95:8080
(3) Eth0 is up, 190.100.92.111 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, 06:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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, 07:30 AM   #3
anupamsr
Member
 
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.
 
  


Reply


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 03:54 PM
Fail to ping satimis Linux - Server 72 01-16-2007 11:26 PM
ping fail from local lan to IPCop mrpc_cambodia Linux - General 3 04-03-2006 05:32 PM
ping lab machine fail but internet ok powah Linux - Networking 1 10-11-2005 11:50 AM
Ping continues to fail after remote host recovers cahenesy Linux - Networking 7 04-19-2004 04:16 PM


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

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