LinuxQuestions.org
Review your favorite Linux distribution.
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 03-30-2009, 03:55 AM   #1
f1l3t0f1sh
LQ Newbie
 
Registered: May 2005
Location: Malaysia
Distribution: Fedora Core 4, SUSE Professional 9.2
Posts: 10

Rep: Reputation: 0
Able to browse net but ping does not work in console


Hi all,

I recently installed Fedora 10 on VirtualBox (host OS is XP) for evaluation purpose and encounter connectivity issue.

In virtualized Fedora, eth0 is running on DHCP. I configure Firefox to use proxy (because I am in office), and it has no issue browsing.

But, in console (I use gnome-terminal), I am unable to ping google.com or yahoo.com.

Example, ping www.yahoo.com
Code:
[root@localhost etc]# ping yahoo.com
PING yahoo.com (206.190.60.37) 56(84) bytes of data.
^C
--- yahoo.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2848ms
The ping just halts there until Control+C issue to break.

And if we do a nslookup on www.google.com
Code:
[root@localhost etc]# nslookup www.google.com
Server:        10.0.2.3
Address:    10.0.2.3#53

Non-authoritative answer:
www.google.com    canonical name = www.l.google.com.
Name:    www.l.google.com
Address: 72.14.203.99
Name:    www.l.google.com
Address: 72.14.203.103
Name:    www.l.google.com
Address: 72.14.203.104
Name:    www.l.google.com
Address: 72.14.203.147
It works.

In this config I manage to ping the proxy and it responses. So I presume the network config should be fine. I personally reckon the DNS setting is not properly set (limited understanding). Anyone please help?

Thank you.

Regards,
f1l3t0f1sh
 
Old 03-30-2009, 06:27 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by f1l3t0f1sh View Post
I personally reckon the DNS setting is not properly set (limited understanding)
I see no evidence that you are having DNS problems. Both ping and nslookup are resolving the names supplied. (ping resolved yahoo.com to 206.190.60.37.) I note (unsurprisingly) that your DNS server is local (10.0.2.3). Since you say you have to go through a proxy to get to the web and your pings fail, I am guessing that direct access to the Internet is blocked. (I can't rule out that your problem has something to do with virutalization. I have no experieince with that.)

Last edited by blackhole54; 03-30-2009 at 06:29 AM. Reason: clearer wording
 
Old 03-30-2009, 08:51 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
Yeah the main issue seems to be that you have to configure your browser to get through to surf the web. This means that the proxy is not configured to work in transparent mode and direct connection to internet is protected and thats why most probably you are not able to ping.
 
  


Reply

Tags
dns, net, ping, web


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
Can ping but can't browse dilbrew Linux - Newbie 1 03-02-2009 05:53 PM
can ping, can't browse efm Linux - Networking 17 01-22-2008 09:09 AM
Cannot Ping but can browse CyberEd Linux - Networking 8 10-26-2007 05:05 AM
Can browse, Can't ping! cyent Linux - Networking 2 05-11-2004 07:41 PM
Can ping but cannot browse placeb0 Linux - Networking 2 08-29-2003 07:16 AM


All times are GMT -5. The time now is 07:38 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