Solved

Network - Redhat Linux

Posted on 2012-12-23
8
341 Views
Last Modified: 2012-12-29
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.
0
Comment
Question by:ittechlab
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 38717589
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
 
LVL 19

Expert Comment

by:jools
ID: 38717656
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
 

Author Comment

by:ittechlab
ID: 38717703
Its VM machine which i am having hard time copying the output. I can't access using ssh. Internal network.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 19

Expert Comment

by:jools
ID: 38718048
Screen print?
0
 
LVL 88

Expert Comment

by:rindi
ID: 38718316
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
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 38719431
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
 

Accepted Solution

by:
ittechlab earned 0 total points
ID: 38719665
i fixed the issue. I had to add the default route manually.
0
 

Author Closing Comment

by:ittechlab
ID: 38728940
I did fix my self.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Copy Command - All Files inc Directory 1 56
Linux VM 6 101
Latest thoughts on C# utilizing Mono on Linux vs .NET on Windows? 5 65
LINUX Field Separators 7 38
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question