Network - Redhat Linux

ittechlab
ittechlab used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kerem ERSOYPresident

Commented:
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 ParkerSenior Systems Administrator

Commented:
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.
ittechlabLinux Support

Author

Commented:
Its VM machine which i am having hard time copying the output. I can't access using ssh. Internal network.
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Julian ParkerSenior Systems Administrator

Commented:
Screen print?
Most Valuable Expert 2015

Commented:
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 ERSOYPresident

Commented:
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.
Linux Support
Commented:
i fixed the issue. I had to add the default route manually.
ittechlabLinux Support

Author

Commented:
I did fix my self.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial