Help Center/ Virtual Private Network/ FAQs/ FAQs - S2C Classic VPN/ Subnet Setting/ How Is a VPN Gateway IP Address Allocated?
Updated on 2024-07-23 GMT+08:00

How Is a VPN Gateway IP Address Allocated?

VPN gateway IP addresses are a group of IP addresses planned before VPN gateways are purchased. These IP addresses are preset with VPN configurations.

When you buy a VPN gateway, the system randomly assigns an IP address and binds it to the VPC you selected. This IP address can be bound to only one VPC.

The IP address of the VPN gateway has preset data. Therefore, it is not interchangeable with an EIP, and you cannot specify an EIP as the VPN gateway IP address when you are buying the VPN gateway. The VPN gateway IP address can only be assigned randomly from the preset VPN IP address pool. When a VPN gateway is deleted, the binding relationship between the gateway IP address and the gateway VPC is released. When a new VPN gateway is purchased, the system randomly allocates a new gateway IP address.