Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to deploy an instance and Local Network

Shulou Source: shulou.com Published: 2022-06-01 00:43:38 11月12日 Update

Today, I would like to talk to you about how to deploy an instance and Local Network. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something from this article.

Today we will deploy cirros-vm2 to the same network and create a second_local_net.

Connect the second instance to first_local_net

Launch instance "cirros-vm2" in the same way, with an assigned IP of 172.16.1.4.

The cirros-vm2 is also schedule to the control node, and the output of ovs-vsctl show is as follows:

The tap device for which cirros-vm2 is used is tapddbbb728-93.

From cirros-vm2, it is possible to Ping the IP address 172.16.1.3 of cirros-vm1.

The current network structure of the host is as follows:

Both instance are attached to the br-int and can communicate with each other.

Create a second local network

To analyze the connectivity of local network, we create another "second_local_net".

Most of the properties of second_local_net are the same as first_local_net, except that the range of IP pool is 172.16.1.101-172.16.1.200

Second_local_net 's DHCP device is also ready.

The tap device corresponding to the DHCP is tap2c1b3c58-4e and is already connected to the br-int.

After reading the above, do you have any further understanding of how to deploy an instance and Local Network? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Content device network same network structure two address host host attribute way more knowledge article structure node scope industry information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi macOS OPPO Reno Linux