A WAN port of a Smart Access Gateway (SAG) device is connected to Alibaba Cloud whereas a LAN port is connected to a local terminal. In this way, network connections are established among terminals in different office branches. This topic describes how to configure a WAN port of an SAG device in the SAG console.

Procedure

  1. Log on to the Smart Access Gateway console.
  2. 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 The More icon > Device Management.
  3. On the Device Management tab, click Manage WAN Ports.
  4. In the SNAT Information section, click Edit, turn on or off the SNAT switch, and then click OK.
    Note After SNAT is enabled in inline deployment mode, Internet access is supported.
  5. In the DNS information section, you can click Edit, enter a custom DNS server address, and then click OK.
    Note By default, an SAG device uses the DNS server assigned by Alibaba Cloud. You can enter a custom DNS server address as needed.
    DNS config
  6. In the WAN-Wired section, click Edit.
  7. On the configuration page that appears, select a connection type.
    Supported connection types:
    • Dynamic IP: If the WAN port of an SAG device is connected to a port, and the connected port uses the Dynamic Host Configuration Protocol (DHCP) to dynamically assign an IP address to the WAN port, we recommend that you select this option. The WAN port uses DHCP to dynamically obtain an IP address to access networks.
    • Static IP: If the WAN port of an SAG device is connected to a port that does not use DHCP, we recommend that you select this option. Specify an IP address for the WAN port to access networks.
      Note Make sure that the specified IP addresses of the WAN port and the peer port fall into the same CIDR block.
      Parameter Description
      Connection Type In this example, Static IP is selected.
      IP Address The IP address of the WAN port.
      Subnet Mask The subnet mask of the WAN port IP address.
      Gateway The IP address of the SAG device.
      Note After the parameter is set, a default route is added to the SAG device.
    • PPPoE: If the WAN port of the SAG device accesses networks through dial-up connections, we recommend that you select this option. You must enter the PPPoE account and password provided by the Internet service provider (ISP).
      Parameter Description
      Connection Type In this example, PPPoE is selected.
      Account The PPPoE account.

      The account must be 6 to 30 characters in length, and can contain letters, digits, and underscores (_).

      Password The PPPoE password.

      The account must be 6 to 30 characters in length, and can contain letters, digits, and underscores (_).

  8. Click OK.