检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
This parameter cannot be set if the value of ip_version is 6. gateway_ip String The gateway IP address cannot conflict with IP addresses configured for allocation_pools.
Advanced Settings (Optional) > Gateway 192.168.0.1 The gateway address of the subnet. You are advised to retain the default address. The gateway address cannot be changed after the subnet is created.
This parameter cannot be set if the value of ip_version is 6. gateway_ip String The gateway IP address cannot conflict with IP addresses configured for allocation_pools.
For details, see Creating a Custom Route Table. - Advanced Settings (Optional) > Gateway The gateway address of the subnet. Click to expand the configuration area and set this parameter.
Table 1 Linux ECSs using IPv4 addresses Type Primary Network Interface Extended Network Interface Source IPv4 address: 10.0.0.115 Subnet IPv4 CIDR block: 10.0.0.0/24 Subnet IPv4 gateway: 10.0.0.1 IPv4 address: 10.0.1.183 Subnet IPv4 CIDR block: 10.0.1.0/24 Subnet IPv4 gateway: 10.0.1.1
Cloud services, including SWR, LTS, HSS, AOM, APM, OBS, and API Gateway, cannot be accessed.
Values: vpc: VPC subnet: Subnet securityGroup: Security group securityGroupRule: Security group rule publicIp: EIP vpn: VPN vpngw: VPN gateway vpcPeer: VPC peering connection loadbalancer: Load balancer listener: Load balancer listener physicalConnect: Direct Connect connection virtualInterface
Databases GaussDB Relational Database Service (RDS) Document Database Service (DDS) GaussDB NoSQL Distributed Database Middleware (DDM) Applications Distributed Cache Service (DCS) Redis instance Memcached instance Distributed Message Service (DMS) Kafka instance RabbitMQ instance API Gateway
The first and the last two IP addresses on each subnet are reserved by the system for the gateway and DHCP service.
Item Description Example Value VPC CIDR block Required for customer gateway configuration Example: 10.0.0.0/16 N/A VPC ID N/A Example: 120b71c7-94ac-45b8-8ed6-30aafc8fbdba N/A CIDR block of subnet 1 (can be the same as the VPC CIDR block) N/A Example: 10.0.1.0/24 N/A ECS ID N/A N/
Cloud services, including SWR, LTS, HSS, AOM, APM, OBS, and API Gateway, cannot be accessed.
If the subnet is an IPv4 subnet, this parameter is not returned. gateway_ip_v6 String Specifies the IPv6 subnet gateway address.
Advanced Settings (Optional) > Gateway 192.168.0.1 The gateway address of the subnet. You are advised to retain the default address. The gateway address cannot be changed after the subnet is created.
The subnet mask cannot be greater than 28. gateway_ip String Specifies the gateway of the subnet. The value must be an IP address in the subnet.
network-scripts directory: cd /etc/sysconfig/network-scripts Run the following command to create and then modify the ifcfg-eth0:1 file: vi ifcfg-eth0:1 Add the following network interface information to the file: BOOTPROTO=static DEVICE=eth0:1 HWADDR=fa:16:3e:4d:5b:98 IPADDR=192.168.1.137 GATEWAY
Item Description Example Value VPC CIDR block Required for gateway configuration Example: 10.0.0.0/16 N/A VPC ID N/A Example: 120b71c7-94ac-45b8-8ed6-30aafc8fbdba N/A CIDR block of subnet 1 (can be the same as the VPC CIDR block) N/A Example: 10.0.1.0/24 N/A ECS ID N/A N/A N/A ECS
Range: network:dhcp: DHCP service network:router_interface_distributed: Subnet gateway address compute:xxx: Private IP address of a cloud server network interface. XXX specifies the AZ name.
For example, if the IPv4 subnet CIDR block is 192.168.1.0/24, the following IP addresses cannot be included in a CIDR reservation: Start IP address: 192.168.1.0 End broadcast address: 192.168.1.255 Assigned IP addresses Subnet gateway address: 192.168.1.1 DHCP address: 192.168.1.254
Cloud services, including SWR, LTS, HSS, AOM, APM, OBS, and API Gateway, cannot be accessed.
The value can contain no more than 255 characters and cannot contain angle brackets (< or >). cidr String Specifies the subnet CIDR block. gateway_ip String Specifies the subnet gateway address. ipv6_enable Boolean Specifies whether IPv6 is enabled. cidr_v6 String Specifies the IPv6