Configuring Your Gateway Network - AWS Storage Gateway

Configuring Your Gateway Network

The default network configuration for the gateway is Dynamic Host Configuration Protocol (DHCP). With DHCP, your gateway is automatically assigned an IP address. In some cases, you might need to manually assign your gateway's IP as a static IP address, as described following.

To configure your gateway to use static IP addresses
  1. Log in to your gateway's local console.

  2. From the AWS Storage Gateway - Configuration main menu, enter the corresponding numeral to select Network Configuration.

  3. From the AWS Storage Gateway Network Configuration menu, perform one of the following tasks:

    To Perform This Task Do This
    Describe network adapter

    Enter the corresponding numeral to select Describe Adapter.

    A list of adapter names appears, and you are prompted to type an adapter name—for example, eth0. If the adapter you specify is in use, the following information about the adapter is displayed:

    • Media access control (MAC) address

    • IP address

    • Netmask

    • Gateway IP address

    • DHCP activated status

    You use the adapter names listed here when you configure a static IP address or set your gateway's default adapter.

    Configure DHCP

    Enter the corresponding numeral to select Configure DHCP.

    You are prompted to configure network interface to use DHCP.

    Configure a static IP address for your gateway

    Enter the corresponding numeral to select Configure Static IP.

    You are prompted to type the following information to configure a static IP:

    • Network adapter name

    • IP address

    • Netmask

    • Default gateway address

    • Primary Domain Name Service (DNS) address

    • Secondary DNS address

    Important

    If your gateway has already been activated, you must shut it down and restart it from the Storage Gateway console for the settings to take effect. For more information, see Shutting Down Your Gateway VM.

    If your gateway uses more than one network interface, you must set all activated interfaces to use DHCP or static IP addresses.

    For example, suppose your gateway VM uses two interfaces configured as DHCP. If you later set one interface to a static IP, the other interface is deactivated. To activate the interface in this case, you must set it to a static IP.

    If both interfaces are initially set to use static IP addresses and you then set the gateway to use DHCP, both interfaces will use DHCP.

    Configure a hostname for your gateway

    Enter the corresponding numeral to select Configure Hostname.

    You are prompted to choose whether the gateway will use a static hostname that you specify, or aquire one automatically through DCHP or rDNS.

    If you select Static, you are prompted to provide a static hostname, such as testgateway.example.com. Enter y to apply the configuration.

    Note

    If you configure a static hostname for your gateway, ensure that the provided hostname is in the domain that gateway is joined to. You must also create an A record in your DNS system that points the gateway's IP address to its static hostname.

    Reset all your gateway's network configuration to DHCP

    Enter the corresponding numeral to select Reset all to DHCP.

    All network interfaces are set to use DHCP.

    Important

    If your gateway has already been activated, you must shut down and restart your gateway from the Storage Gateway console for the settings to take effect. For more information, see Shutting Down Your Gateway VM.

    Set your gateway's default route adapter

    Enter the corresponding numeral to select Set Default Adapter.

    The available adapters for your gateway are shown, and you are prompted to select one of the adapters—for example, eth0.

    View your gateway's DNS configuration

    Enter the corresponding numeral to select View DNS Configuration.

    The IP addresses of the primary and secondary DNS name servers are displayed.

    View routing tables

    Enter the corresponding numeral to select View Routes.

    The default route of your gateway is displayed.