A Smart Access Gateway (SAG) device connects to a local terminal or switch through a LAN port. The SAG device then connects your private network to Alibaba Cloud. This allows you to access resources deployed on Alibaba Cloud. This topic describes how to configure a LAN port of an SAG device in the SAG console.
Procedure
- Log on to the Smart Access Gateway console.
- Choose one of the following methods to open the Device Management tab.
- Click the ID of the target SAG instance. On the instance details page that appears, click Device Management.
- Find the target SAG instance. In the Actions column, choose > Device Management.
- On the Device Management tab, click Manage LAN Ports.
- Find the target port and click Edit.
- On the configuration page that appears, select a connection type for the LAN port.
- Dynamic IP: The LAN port dynamically assigns an IP address through DHCP to the connected device.
If the local network connected to the LAN port has a large number of unspecified users, and you must assign IP addresses for them, we suggest that you select this option. This connection type uses DHCP to dynamically manage and assign IP addresses. This improves IP address utilization and reduces your operation and maintenance workload.
Parameter Description Connection Type In this example, Dynamic IP is selected. Port Address The IP address of the LAN port. Subnet Mask The subnet mask of the LAN port IP address. First IP in DHCP Pool The first IP address of the DHCP pool. Note The DHCP pool must not contain the IP address of the LAN port or the broadcasting address of the CIDR block.Last IP in DHCP Pool The last IP address of the DHCP pool. DHCP Lease Time The time duration that the IP address is retained after it is assigned through DHCP. Valid values: 1 to 43200. Unit: minute.
- Static IP: specifies a static IP address for the LAN port.
If the LAN port is connected to a switch deployed in the private network, and the local terminal does not need to assign IP addresses through the SAG device, we recommend that you select this option. You can specify a static IP address for the LAN port to facilitate management.
Parameter Description Connection Type In this example, Static IP is selected. Port Address The IP address of the LAN port. Subnet Mask The subnet mask of the LAN port IP address.
- Dynamic IP: The LAN port dynamically assigns an IP address through DHCP to the connected device.
- Click OK.