LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-28-2009, 12:41 AM   #1
raj.darkmystery
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Rep: Reputation: 15
Question rhel5 over vmware: unable to ping default gateway


hi guys;

m facing a problem, actually i have installed ESXi 4.0 n installed RHEL5, Ubuntu and Sun Solaris 10 over it.. solaris and ubutnu machines working perfectly and are able to access internet but RHEL5 machine is even unable to ping its own default gateway.. ping to 127.0.0.1 and own ip are succesfull but while pinging default gateway m getting "Destination host unreachable" from machines own ip.. i have checked all the settings and confirmed each and every fact about network configuration but not getting success to overcome this issue... please help me out to overcome this...
 
Old 12-28-2009, 01:20 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
May be iptables rules preventing
try
root# iptables -F
root# service iptables save

Now try to access network
 
Old 12-28-2009, 01:26 AM   #3
raj.darkmystery
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 15
no its still not working.. n i have already stopped the iptables... but i have tried ur way also but its still unreachable...
 
Old 12-28-2009, 01:29 AM   #4
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Is it bridged networking?
 
Old 12-28-2009, 01:34 AM   #5
raj.darkmystery
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 15
yes it is... m not gtng y rhel5 only is not working.. while sun n ubuntu r working fine
 
Old 12-28-2009, 05:41 AM   #6
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Does ethtool eth0 command in rhel showing Link detected: yes ?

If yes then whats traceroute <ip of default gateway>, returns
 
Old 12-28-2009, 10:53 PM   #7
raj.darkmystery
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 15
hey hi Vishesh..

thanks for ur kind responses but problem is still there... link is detecting but when i run tracert it shows "*" (stars)only for next 30 hops n nothing is coming out...
 
Old 05-21-2010, 06:13 PM   #8
PinguinLinux
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Hi Raj,

Try this. "route add -net 0.0.0.0 netmask 0.0.0.0 gw Your-host-Default-Gateway-IP". I got the same problem on the RHEL54 host on VMware guest OS, and it works after adding this new route.

And check with "route -n" and you should see new entry for the above.
From there you can ping to other network from your host or you can ssh to this RHEL host from other systems.

I hope this help for you.

P.S. This new route is for the Ethernet interface (eth0 mostly) which is connected to your Default-Gateway.

-PL

Last edited by PinguinLinux; 05-21-2010 at 06:17 PM.
 
  


Reply

Tags
rhel5, vmware



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
Unable to ping Default Gateway in Suse Linux 11.2 rajaniyer123 Linux - Networking 1 01-08-2009 02:18 AM
Unable to ping the gateway Setya Linux - Networking 5 08-06-2007 01:16 AM
Unable to PING default gateway, SUSE 10.1 LTC Don Linux - Networking 1 10-07-2006 12:25 PM
Unable to ping other than default gateway senthilpr_in Linux - Networking 6 08-17-2005 07:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:37 PM.

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
Open Source Consulting | Domain Registration