CentOS Networking issue

Posted on 2014-04-22
Last Modified: 2014-05-17

I am having problem with a CentOS server install as a VM which has 2 NIC Cards.
The software installs just fine and I have Both IP's bound to the Network card but
for some reason none of the gateways from the ifcfg-eth0 and ifcfg-eth1 make it
into route list.

Hopefully someone can point me in right direction


Question by:AlexPonnath

Expert Comment

by:Jordan Medlen
ID: 40016188
Can you paste the configs here? Can you also show the output of ifconfig -a?
LVL 13

Expert Comment

ID: 40016791
Yes, please paste the configuration here along with #route -v output to see what we can do ...

LVL 61

Expert Comment

ID: 40027024
You can also specify gateway in /etc/sysconfig/network
Make sure there is none for ifcfg-* to work

Accepted Solution

AlexPonnath earned 0 total points
ID: 40060593
Issue is resolved, after closer review i found a prolem with the gateway ip which was not in subnet and thats why it never got into the route table

Author Closing Comment

ID: 40071916
Issue was solved by myself

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now