Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Added another network adapter to my CentOS (minimal) VM in VMWare Workstation 8.

I've rebooted and obviously the OS doesn't recognise the new adapter.

How do I add / configure it to recognise the new adapter (for instance, give it a name eth1 and IP

share|improve this question
up vote 2 down vote accepted

Are you sure the OS doesn't recognize it? It probably recognizes it but it isn't configured to do anything.

If you already have eth0, try (as root):

ifconfig eth1 up

If that works, then the kernel successfully detected the adapter and created a device node for it, but the userspace tools don't currently assign an IP to it.

You can find documentation on modifying the network scripts, which bring up and take down network interfaces at boot and when changing runlevels, here (Red Hat documentation).

share|improve this answer
I did an ifup eth1 and got an error back about an interface not being available. ifconfig eth1 up did the trick! Thank you! – Federer Jul 25 '12 at 15:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.