OpenStack Virtual machine Add NIC

Source: Internet
Author: User

Openstack Dashborad does not add a network card to the virtual machine, but the backend is the interface of this line.

First we create a virtual machine, this virtual mechanism 11.11.11 the network segment

Then view the current network with several network segments

Next we create an interface for the 192.168.1 network segment

You can see that the newly created port ID is 8add52c1-3ad6-4651-b1fb-d142fc60b58c

Next we will add this interface to the virtual machine, first check our virtual machine

Then add the port you just created to the virtual machine, and then look at the port of the virtual machine to see that there are two different network segments of port

At this point we log on to the virtual machine to see, we can see the network card added successfully, but did not give the IP

Modify a configuration file under Cirros system/etc/network/interfaces

Then reboot the virtual machine to do it, such as:

Add network card to this success

OpenStack Virtual machine Add NIC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.