Network - Redhat Linux

I did configure eth0 and tried to ping my gateway. is not working.
I checked the routing table and is shows eth0 is configured with default gateway.

can some one advise how to fix this.
ittechlabLinux SupportAsked:
Who is Participating?
 
ittechlabLinux SupportAuthor Commented:
i fixed the issue. I had to add the default route manually.
0
 
Kerem ERSOYPresidentCommented:
Hi,

Can you please send the output for

netstat -rn

Open in new window



and the contents of your
/etc/sysconfig/network-scripts/ifcfg-eth0

Open in new window


Cheers,
K
0
 
joolsCommented:
you certainly need to post your network configuration.

add to the above
ifconfig -a

Open in new window

as well as the ip address of the router you are trying to ping.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
ittechlabLinux SupportAuthor Commented:
Its VM machine which i am having hard time copying the output. I can't access using ssh. Internal network.
0
 
joolsCommented:
Screen print?
0
 
rindiCommented:
If it's a VM, what product are you using? With many products you must make sure you are using the network in "bridge" or "NAT" mode, not "host-only" mode. Also, most of them require you to install something like "VMWare Tools", or "VirtualBox Add-ons", or "Integration features" inside your VM to get full functionality and speed.
0
 
Kerem ERSOYPresidentCommented:
Its VM machine which i am having hard time copying the output.

Open in new window


The output that I've requested should not generate more than a few lines code. You might as well get some screen capture and attach here too.

You can try to start ssh service while connected through your VM consele.
0
 
ittechlabLinux SupportAuthor Commented:
I did fix my self.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.