Avatar of ittechlab
ittechlab
Flag for Canada asked on

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.
LinuxLinux Networking

Avatar of undefined
Last Comment
ittechlab

8/22/2022 - Mon
Kerem ERSOY

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
Julian Parker

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.
ittechlab

ASKER
Its VM machine which i am having hard time copying the output. I can't access using ssh. Internal network.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Julian Parker

Screen print?
rindi

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.
Kerem ERSOY

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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
ittechlab

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ittechlab

ASKER
I did fix my self.