VLAN-based IP Address Failover
When multiple types of services are running on a host, services of one type must be isolated from those of another type. You must plan ports that are used to carry services.
Port Planning
You can create multiple VLANs to isolate services of various types. The following requirements must be met when a VLAN is created.
- All Ethernet ports configured with the IP failover function have connected to the network through network cables, and must be planned in the same network.
- The Health Status of the ports must be Normal, and the Running Status must be Connected.
- IP addresses are not configured for the Ethernet ports.
- The Ethernet ports for which you want to create VLANs are not bonded or assigned IP addresses. An Ethernet port that has been used for networking cannot be used to create a VLAN.
The network and port planning for IP address failover based on VLANs is as follows:
- Network
Two free Ethernet ports and switch ports must be reserved (allocate the two Ethernet ports to the VLAN where the two switch ports reside). Available IP addresses (subnet masks included) must be ready. Figure 2-3 shows a VLAN.
For details, see the Installation Guide of the corresponding product model.
Before creating a VLAN, you must plan Ethernet port information. Table 2-4 lists the parameters that you must plan for a VLAN.
Item |
Planned Value |
Description |
---|---|---|
Port type |
Ethernet port |
Port types are Ethernet port and Bond port. |
Location |
CTE0.A.IOM1.P0 |
Location of a port used to create a VLAN. |
ID |
1 |
Each port can be used by multiple VLANs. When creating multiple VLANs, enter the VLAN IDs in the following format: start VLAN ID-end VLAN ID. |
- Logical ports
Logical ports carry host services. You must plan the parameters listed in Table 2-5 for the logical ports.
Item |
Planned Value |
Description |
---|---|---|
Name |
Logic1 |
Name of a logical port. |
IP Address Type |
IPv4 address |
IP address types include IPv4 and IPv6. |
IPv4 Address |
192.168.100.10 |
Reserved IP address. |
Subnet Mask |
255.255.255.0 |
- |
Home Port |
CTE0.A.IOM1.P0.1 |
Three types:
If the home port fails, another port of the same type will be used as the home port to take over services. |
IP Address Failover |
Enable |
Determine whether IP address failover is enabled. |
Failback Mode |
Automatic |
Mode in which services fail back to the home port after the home port is recovered. The mode can be manual or automatic. |
Activate Now |
Enable |
If this item is enabled, a logical port will be activated after it is created. |