AWS Storage Gateway
User Guide (API Version 2012-06-30)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Configuring Your AWS Storage Gateway to Use a Static IP Address

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 may need to manually assign your gateway's IP as a static IP address. This topic explains how.

To configure your gateway to use static IP addresses

  1. Log into your gateway's local console. For instructions, see Logging Into Your AWS Storage Gateway Local Console.

  2. In the AWS Storage Gateway Configuration main menu, select option 2.

    Note

    For a gateway deployed on Microsoft Hyper-V, you will see an extra menu item for System Time Management that does not apply to gateways deployed on VMware ESXi.

  3. Choose one of the following options in the AWS Storage Gateway Static IP Address Configuration menu:

    To...Do this...
    View your gateway's network configuration

    Enter option 1.

    A list of adapter names is displayed 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:

    • MAC address

    • IP address

    • Netmask

    • Gateway IP address

    • DHCP enabled status

    You use the same adapter name when you configure a static IP address (option 2) or set your gateway's default route adapter (option 5).

    Configure a static IP address for your gateway

    Enter option 2.

    You are prompted to enter the following information to configure a static IP.

    • Network adapter name

    • IP address

    • Netmask

    • Default gateway address

    • Primary DNS address

    • Secondary DNS address

    Important

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

    If your gateway uses more than one network interface, you must set all enabled interfaces to use DHCP or static IP addresses. For example, if your gateway VM uses two interfaces configured as DHCP and you later set one interface to a static IP, the other interface is disabled. To enable the interface, 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.

    View your gateway's DNS configuration

    Enter option 3.

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

    Reset your gateway's network configuration to DHCP

    Enter option 4.

    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 AWS Storage Gateway console for the settings to take effect. For more information, see Shutting Down and Turning On a Gateway Using the AWS Storage Gateway Console.

    Set your gateway's default route adapter

    Enter option 5.

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

    View routing tables

    Enter option 6.

    The default route of your gateway is displayed.

    Exit this menu and return to the previous menu

    Enter option 7.