Ask Your Question
0

How to add 2 network interface cards to an instance which created with centos 7 image? I already add the second interface but it isn't running how can i run it on centos 7

asked 2017-03-28 04:21:30 -0600

Azza Khalel gravatar image

I added two NIC cards to an instance then ssh -i <key.pem> centos@<ip> ifconfig; only one interface that appear and when i run ifconfig -a the second interface is appeared but haven't IP. FYI: the instance is a centos 7 How can i make the second interface to be running?

edit retag flag offensive close merge delete

Comments

The Centos image only configures a single interface. You have to add ifcfg-eth1 or whatever that's called. You could use libguestfs-tools as suggested in the answer, or launch a VM, add the network config, then snapshot that VM.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-28 20:47:48 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-28 17:46:21 -0600

dbaxps gravatar image

Option 1 : Update qcow2 CentOS 7 image via libguestfs-tools - see https://ask.openstack.org/en/question...
Option 2 : Advanced knowledge of Neutron CLI ( no matter which image was used for launching VM)
See http://blog.oddbit.com/2014/05/28/boo...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-03-28 04:21:30 -0600

Seen: 359 times

Last updated: Mar 28 '17