ZStack Cloud Platform
Single Server, Free Trial for One Year
IPv4+IPv6 dual stack means that one NIC has both IPv4 and IPv6 addresses, combining the advantages of IPv4 and IPv6. With IPv4+IPv6 dual stack, you can customize for different scenarios.
Public Network | Configuration |
---|---|
NIC | em1 |
VLAN ID | No VLAN |
IP Range | 10.108.10.100~10.108.10.200 |
Netmask | 255.0.0.0 |
Gateway | 10.0.0.1 |
DHCP IP | 10.108.10.101 |
Management Network | Configuration |
---|---|
NIC | em2 |
VLAN ID | No VLAN |
IP Range | 192.168.29.10~192.168.29.20 |
Netmask | 255.255.255.0 |
Gateway | 192.168.29.1 |
VPC Network | Configuration |
---|---|
NIC | em1 |
VLAN ID | 2800 |
IP CIDR | 192.168.10.0/24 |
Gateway | 192.168.10.1 |
DHCP IP | 192.168.10.2 |
VPC Network | Configuration |
---|---|
IP CIDR | 234e:0:4569::/64 |
Gateway | 234e:0:4569::1 |
DHCP IP | 234e:0:4569::2 |
VPC Network | Configuration |
---|---|
NIC | em1 |
VLAN ID | 2900 |
IP CIDR | 192.168.11.0/24 |
Gateway | 192.168.11.1 |
DHCP IP | 192.168.11.2 |
VPC Network | Configuration |
---|---|
IP CIDR | 234e:0:456a::/64 |
Gateway | 234e:0:456a::1 |
DHCP IP | 234e:0:456a::2 |
Add a IPv6 network range to L3-VPC-1 and L3-VPC-2 respectively to set up a IPv4+IPv6 dual-stack network. For IPv6 network configuration information, see Table 4 and Table 6.
To add a new type of network range to a VPC network that already has a VPC vRouter attached, you need to reboot the VPC vRouter, otherwise the network may not work as expected.
On the VPC vRouter page, locate the VPC vRouter and click .
Create two VM instances using L3-VPC-1 and L3-VPC-2 respectively. In this scenario, we will introduce the creation of VM-dual-stack-1.
Click OK to create two VM instance using the dual-stack network.
[root@localhost~]# dhclient -6 eth0 //eth0 indicates the NIC name [root@localhost~]# ifconfig
ping
VM-dual-stack-2.ping
VM-dual-stack-1.VLAN | VXLAN |
---|---|
|
|
This chapter mainly introduces the practice of multi-tenant isolation provided by the VXLAN VPC network.
Public Network | Configuration |
---|---|
NIC | em01 |
VLAN ID | No VLAN |
IP Range | 10.151.10.100~10.151.10.200 |
Netmask | 255.0.0.0 |
Gateway | 10.0.0.1 |
DHCP IP | 10.151.10.101 |
Management Network | Configuration |
---|---|
NIC | em02 |
VLAN ID | No VLAN |
IP Range | 192.168.28.100~192.168.28.200 |
Netmask | 255.255.255.0 |
Gateway | 192.168.28.1 |
VXLAN Pool | Configuration |
---|---|
VNI Range | 20-1200 |
VTEP CIDR | 192.168.28.1/24 |
VPC Network | Configuration |
---|---|
NIC | em01 |
IP CIDR | 192.168.21.0/24 |
Gateway | 192.168.21.1 |
DHCP IP | 192.168.21.2 |
VPC Network | Configuration |
---|---|
NIC | em01 |
IP CIDR | 192.168.22.0/24 |
Gateway | 192.168.22.1 |
DHCP IP | 192.168.22.2 |
VPC Network | Configuration |
---|---|
NIC | em01 |
IP CIDR | 192.168.23.0/24 |
Gateway | 192.168.23.1 |
DHCP IP | 192.168.23.2 |
VPC Network | Configuration |
---|---|
NIC | em01 |
IP CIDR | 192.168.24.0/24 |
Gateway | 192.168.24.1 |
DHCP IP | 192.168.24.2 |
To create a VXLAN-VPC network, follow these steps:
For network configuration information, see Public Network Configuration.
For network configuration information, see Public Network Configuration.
For network configuration information, see Management Network Configuration.
For network configuration information, see Management Network Configuration.
On the main menu of ZStack Cloud, choose . On the vRouter Image page, click Add vRouter Image. Then, the Add vRouter Image page is displayed.
If not specified, the Cloud allocates a VNI randomly.
For VPC network configuration information, see VPC-A1 Configuration.
As for how to create a VM instance, you can refer to the Create VM Instance chapter of the User Guide.
ping
command to test the network connectivity: ping baidu.com
: Successfulping VM-A2
: Successfulping VM-B1
: Failed (Two VXLAN-VPC network are isolated in layer 2)ping VM-B2
: Failed (Two VXLAN-VPC network are isolated in layer 2)[root@Localhost~]# vim /etc/hosts ... 192.168.22.156 VM-A2 192.168.23.177 VM-B1 192.168.24.193 VM-B2 ...
ping
command to test the network connectivity.ping baidu.com
: Successfulping VM-A1
: Failed (Two VXLAN-VPC network are isolated in layer 2)ping VM-A2
: Failed (Two VXLAN-VPC network are isolated in layer 2)ping VM-B2
: Successful[root@Localhost~]# vim /etc/hosts ... 192.168.21.250 VM-A1 192.168.22.156 VM-A2 192.168.24.193 VM-B2 ...
On the main menu of ZStack Cloud, choose . On the Public Network page, locate the L3-Public Network and click . On the Set Sharing Mode dialogue box, select Share to specified projects/accounts and select Sub-Account-A and Sub-Account-B in Specify Account.
ping VM-B1
: Successfulping VM-A2
: SuccessfulPublic Network | Configuration |
---|---|
NIC | em01 |
VLAN ID | No VLAN |
IP Range | 10.151.10.100~10.151.10.200 |
Netmask | 255.0.0.0 |
Gateway | 10.0.0.1 |
Management Network | Configuration |
---|---|
NIC | em02 |
VLAN ID | No VLAN |
IP Range | 192.168.28.100~192.168.28.200 |
Netmask | 255.255.255.0 |
Gateway | 192.168.28.1 |
Private Network | Configuration |
---|---|
NIC | em01 |
VLAN ID | 2017 |
IP CIDR | 192.168.10.0/24 |
Private Network | Configuration |
---|---|
NIC | em01 |
VLAN ID | 2020 |
IP CIDR | 192.168.20.0/24 |
Private Network | Configuration |
---|---|
NIC | em01 |
VLAN ID | 2050 |
IP CIDR | 192.168.50.0/24 |
The following part describes the practice of deploying a multi-web server of VPC network in detail.
ping baidu.com
: Successfulping VM-app
: Successfulping VM-database
: Successful[root@VM-web ~]# vim /etc/hosts ... 192.168.20.187 VM-app 192.168.50.141 VM-database ...
ping baidu.com
: Successfulping VM-web
: Successfulping VM-database
: Successful[root@VM-app ~]# vim /etc/hosts ... 192.168.10.79 VM-web 192.168.50.141 VM-database ...
ping baidu.com
: Successfulping VM-app
: Successfulping VM-web
: Successful[root@VM-database ~]# vim /etc/hosts ... 192.168.20.187 VM-app 192.168.10.79 VM-web ...
Email Us
contact@zstack.ioEmail Us
contact@zstack.ioEmail Us
contact@zstack.ioThe download link is sent to your email address.
If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.Thank you for using ZStack products and services.
Submit successfully.
We'll connect soon.Thank you for using ZStack products and services.