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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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 62

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

749 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