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?
 
ittechlabConnect With a Mentor Linux 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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
All Courses

From novice to tech pro — start learning today.