3.2.7 Configuring Network Settings

After initial setup, you seldom need to change the network settings unless something in your network changes, such as adding a new gateway or DNS server. These options are for Access Gateway Appliance. For Access Gateway Service, use the utilities supplied by the operating system. However, if you add an new network interface card to Access Gateway Service machine and use system utilities to configure it and assign it an IP address, you need to update Access Gateway Service with this information. See Adding a New IP Address to Access Gateway.

This section describes the following tasks:

Viewing and Modifying Adapter Settings

The adapter settings allow you to view the current configuration for the network adapters installed in Access Gateway Appliance and manage the IP addresses that are assigned to them.

  • To configure an adapter to use more than one IP address, use these settings to add them.

  • If you have multiple adapters installed on an Access Gateway Appliance machine, you can only configure eth0 during installation. Use the procedure described in this section to configure the others.

  • If you have added an adapter to the machine after installing Access Gateway, you need to use the New NIC option before it can appear in the adapter list.

    If you have added an adapter to the machine after installing Access Gateway, you need to use the New NIC option before it can appear in the adapter list.

To view or modify your current adapter settings:

  1. Click Devices > Access Gateways > Edit > Adapter List.

  2. (Conditional) If Access Gateway is a member of a cluster, select the server you want to configure from the list of servers in the Cluster Member field. All changes made to this page apply to the selected server.

  3. Select the adapter you want to modify, then select one of the following actions:

    • To add a new subnet to an existing adapter, click New.

    • To delete a subnet, select a subnet, then click Delete. More than one subnet must be configured for you to delete one.

    • To modify an existing subnet, click the IP address of the subnet.

  4. To configure a new subnet or a new IP address for a subnet, specify the following details:

    Subnet: Displays the address of the subnet that you are modifying. This is empty if you are creating a new subnet.

    Subnet Mask: (Required) Specifies the subnet mask address for this subnet. The address can be specified in standard dotted format or in CIDR format.

    Addresses: Allows you to manage the IP addresses assigned to the subnet.

  5. Click OK.

(Access Gateway Appliance) Viewing and Modifying Gateway Settings

The gateway settings display the current gateway configuration that Access Gateway Appliance is using to route packets. On this page, you can also configure additional gateways. During installation, you could specify only a default gateway. You must have at least one gateway defined for Access Gateway to function.

Access Gateway routes requests to specific destinations through these gateways. If a request could be routed through multiple gateways, Access Gateway chooses the gateway associated with the most restrictive mask (the smallest range of destination addresses). The default gateway is used only when no other routes apply.

Gateways fall within the following three basic groups:

  • Host gateways for specific destination addresses.

  • Network gateways for destination addresses that fall within specific subnets.

  • The default gateway for destination addresses that are not covered by host or network gateways.

IMPORTANT:If you enter an IP address that is on a different subnetwork, Access Gateway reports an error on the Health page, after the configuration is applied.

To modify your current gateway configuration, perform the following steps:

  1. Click Devices > Access Gateways > Edit > Gateways.

  2. Specify the following details to configure the default gateway. The default gateway is used when other routes are not available.

    Field

    Description

    Next Hop

    The IP address of the gateway.

    Metric

    A relative number indicating the bias you can add to the normal flow of the gateway logic. Specifying a number higher than 1 makes this resource more expensive and alters the gateway logic used. Valid numbers include 1 through 16.

    Ethernet Interface

    Select the active network interface that will route the traffic from Access Gateway to the host gateway. For example, eth0, lo, wlan0 and “-”. Selecting the “-” interface routes the traffic using any available interface. Generally, eth0 is the first Ethernet interface, lo is the loop-back interface, and wlan0 is the first wireless network interface.

  3. Perform the following steps to configure host gateways. The host gateways are used for sending packets to the specific hosts.

    1. Click New under Host Gateway.

    2. Specify the following details:

      Field

      Description

      Next Hop

      The address of the host gateway that is to be used.

      Metric

      A relative number indicating the bias you can add to the normal flow of the gateway logic. Specifying a number higher than 1 makes this resource more expensive and alters the gateway logic used. Valid numbers include 1 through 16.

      Ethernet Interface

      Select the active network interface that will route the traffic from Access Gateway to the host gateway. For example, eth0, lo, wlan0 and “-”. Selecting the “-” interface routes the traffic using any available interface. Generally, eth0 is the first Ethernet interface, lo is the loop-back interface, and wlan0 is the first wireless network interface.

  4. Perform the following steps to configure the network gateways. The network gateways are used for sending packets to the specific subnets.

    1. Click New under Network Gateway.

    2. Specify the following details:

      Field

      Description

      Next Hop

      The address of the network gateway that is to be used.

      Network Address

      The subnet address for the destination IP address range. You must enter the valid subnet address.

      Mask

      The subnet mask for the subnet or IP address above. A valid entry must be at least as large as a class mask where a Class A mask is 255.0.0.0, a Class B mask is 255.255.0.0, and Class C, D, and E masks are 255.255.255.0.

      Metric

      A relative number indicating the bias you can add to the normal flow of the gateway logic. Specifying a number higher than 1 makes this resource more expensive and alters the gateway logic used. Valid numbers include 1 through 16.

      Ethernet Interface

      Select the active network interface that will route the traffic from Access Gateway to the host gateway. For example, eth0, lo, wlan0 and “-”. Selecting the “-” interface routes the traffic using any available interface. Generally, eth0 is the first Ethernet interface, lo is the loop-back interface, and wlan0 is the first wireless network interface.

  5. Click OK.

  6. On the Server Configuration page, click OK > Update > OK.

(Access Gateway Appliance) Viewing and Modifying DNS Settings

  1. Click Devices > Access Gateways > Edit > DNS.

  2. If Access Gateway is a member of a cluster, select the server you want to configure from the list of servers in the Cluster Member field. All changes made to this page apply to the selected server.

  3. Specify the following details:

    Server Hostname: Displays the unique host or computer name that you have assigned to Access Gateway machine. If you modify this name, you need to modify the entry for Access Gateway in your DNS server to resolve this new name.

    Domain: Specifies the domain name for your network. Your DNS server must be configured to resolve the combination of the server hostname and the domain name to Access Gateway machine. This field assumes you are using dotted names for your machines, such as sales.mytest.com, where sales is the Server Hostname and mytest.com is the Domain.

    DNS Server IP Addresses: Displays the IP addresses of the servers on your network that resolve DNS names to IP addresses. You can have up to three servers in the list. If you specified any addresses during installation, they appear in this list. To manage the servers in this list, select one of the following options:

    • New: To add a server to the list, click this option and specify the IP address of a DNS server.

    • Delete: To delete a server from the list, select the address of a server, then click this option.

  4. Click OK.

  5. On the Server Configuration page, click OK > Update > OK.

(Access Gateway Appliance) Configuring Hosts

You can configure Access Gateway Appliance to have multiple hostnames or to resolve DNS names to IP addresses. If you manually edit the /etc/hosts file, your modifications are lost when Access Gateway Appliance is updated. However, if you use the Hosts page to specify the entries, the entries are written to the /etc/hosts file whenever the configuration of Access Gateway Appliance is updated.

  1. Click Devices > Access Gateways > Edit > Hosts.

  2. (Conditional) If Access Gateway is a member of a cluster, select the server you want to configure from the list of servers in the Cluster Member field. All changes made to this page apply to the selected server.

  3. To add a new hostname to an existing IP address, click the name of a Host IP Address.

  4. In the Host Name(s) text box, specify a name for the host. Place each hostname on a separate line, then click OK.

  5. To add a new IP address and hostname, click New in the Host IP Address List section, then specify the IP address. In the Host Name(s) text box, specify a hostname, then click OK.

  6. To delete a host, select the check box next to the host you want to delete, then click Delete.

  7. Click OK.

  8. On the Server Configuration page, click OK, then update Access Gateway.

Adding a New IP Address to Access Gateway

Before configuring Access Gateway to use a new IP address, you must first use an operating system utility to add the IP address.

After you have used a system utility to add an IP address, you need to update Access Gateway Service to display the new IP address as a configuration option.

  1. Click Devices > Access Gateways > [Name of Gateway Service].

  2. On the Server Details page, click New IP > OK.

    Access Gateway scans the operating system for its configured IP addresses and adds any new addresses. The new address is then available for assignment on Access Gateway configuration pages.

  3. (Optional) To verify that the scan has completed, click the Command Status tab.

Adding New Network Interfaces to Access Gateway Appliance

Before you can configure Access Gateway to use a new IP address, you must first use an operating system utility to add the IP address.

If you add new network interface cards to Access Gateway Appliance after installation, perform the following steps:

  1. Start YaST, click Network Devices > Network Card, then select the Traditional Method to configure the IP address.

  2. Click Devices > Access Gateways > [Name of Gateway Appliance].

  3. On the Server Details page, click New IP, then click OK.

    Access Gateway scans the operating system for its configured IP addresses and adds any new addresses. Any new address is then available for assignment on Access Gateway configuration pages.

  4. Click Access Gateways and then click Edit for the cluster or server that has the new card.

  5. Click Adapter List.

    The newly added network interface is displayed here. Use this page to change the IP address related configuration. Now on, you must not use YaST.