Configuring your gateway network settings - AWS Storage Gateway

Configuring your gateway network settings

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 Appliance Activation - Configuration main menu, enter the corresponding numeral to select Network Configuration.

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

    To Perform This Task Do This
    Get information about your network adapter

    Enter the corresponding numeral to select Describe Adapter.

    A list of adapter names appears, and you are prompted to enter 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 enabled status

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

    Configure DHCP routing

    Enter the corresponding numeral to select Configure DHCP.

    You are prompted to configure the 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 enter 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 active interfaces to use DHCP or static IP addresses.

    For example, suppose that 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 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.

    View your gateway's hostname configuration

    Enter the corresponding numeral to select View Hostname Configuration.

    Your gateway's hostname, aquisition mode, domain, and Active Directory realm are displayed.

    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 choose one of the adapters—for example, eth0.

    Edit your gateway's DNS configuration

    Enter the corresponding numeral to select Edit DNS Configuration.

    The available adapters of the primary and secondary DNS servers are displayed. You are prompted to provide the new IP address.

    View your gateway's DNS configuration

    Enter the corresponding numeral to select View DNS Configuration.

    The available adapters of the primary and secondary DNS servers are displayed.

    Note

    For some versions of the VMware hypervisor, you can edit the adapter configuration in this menu.

    View routing tables

    Enter the corresponding numeral to select View Routes.

    The default route of your gateway is displayed.