CentOS Text Only - Add Network Adapter

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 10.1.0.1)?

Replay

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).

Category: centos Time: 2012-07-25 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.194 (s). 12 q(s)