Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Red Hat 5 Ping issue

Status
Not open for further replies.

mystaff

Technical User
May 27, 2009
35
AR
Hi all,

I have a Red hat 5, with 2 nic cards, this im using vmware to.
My issue is i can ping any part of my network, i can use my vmware an get and ping too. But when i want to access my server thru the net or ping or ssh i don't have answer from the linux.

NIC card 1 uses the ip 10.x.x.x
NIC card 2 uses the ip 192.x.x.x

Any idea?

Thanks
 
What is your default gateway? Post the output of netstat -rn and it should tell us.

What is the difference between your 10.x and 192.x networks? Which one is connected to the internet, and how?

Annihilannic.
 
The default GW is from the 10.x becasue this is the one that i need to have from my intranet, the 192.x is for the internet for the VM.

Regards
 
Ah, yes, but you don't "need" to have the one from 10.x as your gateway for any addresses but those on the 10.x subnet... so it shouldn't be your "default" gateway because there are a hell of a lot of IP addresses out there on the internet that you don't want to define specific gateways for!

So... I think you should define a route for all 10.x addresses to go to your 10.x gateway, and a default route for all other addresses to go to your 192.x gateway which should perform NAT and communicate with the rest of the world.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top