Managing network interfaces

Example of an Access Gateway instance using multiple interfaces to segment network traffic.

Managing Network Interfaces involves these tasks:

 

Note

Note

All network operations are performed using the Access Gateway Management console.

To access the command line management console:

  1. Use SSH to connect to the Access Gateway Management console.
  2. Sign in using the management console credentials.
  3. Select 1 - Manage network interfaces to enter the Network menu.
  4. Select, by number, a network interface to manage.

Assign interface IP address

To manage the IP address associated with a given network interface:

  • Connect to the Access Gateway Management console and navigate to a network interface as described earlier.
  1. Enter the line number of the interface you want to manage or enter x to exit:
    Available networking interfaces. Select interface to manage:
    1: eth0
    2: eth1
    3: eth2
    . . . 
    x: Exit
    
    Interface information for the selected interface is displayed along with the manage interface sub-menu.
    For example, when you enter 3:
    Managing interface eth2 (MAC 09:. . . :00) Status: UP DHCP
        IP Address: 192.168.1.230/24
        Routes:
            default via 192.168.1.1 proto dhcp metric 103 dev eth2
            192.168.1.0/24 proto kernel scope link src 192.168.1.230 metric 103 dev eth2
    
    a: Assign static IP address
    d: Set up DHCP
    r: Manage Routes							
    
    x: Exit								
    
  2. Enter a to manage the IP Address for the interface.
    Enter d to setup DHCP for an interface.
    Enter r to manage routes for the interface.

    Assign an IP address
    Enter a to begin the Add static IP address process.

    Note

    Note

    If a static IP address or a DHCP assigned address already exists for an interface, then this option is unavailable.

    For example:

  3. Enter a to assign a new static IP address.
    Adding static IP for interface ethX displays.
    1. Enter the IP Address and click Enter.
      IP Address: 192.168.1.230 .
    2. Enter the netmask for the address, as 4 hexidecimal digits and click Enter.
      Netmask: 255.255.255.0
    3. Enter the gateway for the static IP address and click [Enter].
      Gateway: 192.168.1.1
    4. A confirmation is displayed.
      For example:
      The following network configuration change will be made to your running configuration:
          Configuring static IP address 192.168.1.230/255.255.255.0 on device eth3 with gateway 192.168.1.1
         
      a: abort chance
      c: continue with change
      
    5. Enter c to continue with change or a to abort the change.
  4. Setup DHCP

    Enter d to begin the process of setting up DHCP for an interface.

  5. Enter d.
    A confirmation displays.
    Setup DHCP for device ethX
    Are you sure you want to setup DHCP (y/n):
    
  6. Click y to confirm or n to cancel.
  7. If yes, the following confirmation is displayed.

    The following network configuration change will be made to your running configuration:
        Configuring DHCP for device ethX
       
    a: abort chance
    c: continue with change
    

Managing interface routing

To manage routes for a given network interface:

  • Connect to the Access Gateway Management console and navigate to a network interface as described earlier.

Manage Route
Enter r to begin the Add route process
For example:

The Manage routes sub-menu displays and is similar to:

Managing routes for interface eth3
   Routes:
        default via 192.168.1.1 proto static metric 103 dev eth1
        192.168.1.0/24 proto kernel scope link src 192.168.1.230 metric 103 dev eth3

   a: Add route
   d: Delete route
   x: Exit
  1. Enter x to exit and return to the Managing interfaces menu.
  2. Enter r to add a new route
    Adding route for interface ethX displays.
    1. Specify whether this route is the default route or not and click Enter.
      Default? (y/n) Enter y to make the new route the default route, enter n otherwise.
    2. Enter the gateway for the route and click [Enter].
      Gateway: 192.168.1.1
    3. Enter the destination for the route and click [Enter].
      Destination (CIDR): 192.168.195.78
    4. A confirmation is displayed.
      For example:
      The following network configuration change will be made to your running configuration:
          adding route to 192.168.1.1 on dev eth3
         
      a: abort chance
      c: continue with change
      
  3. Enter d to delete a route
    The Route list picker displays and is similar to:
    Pick an route to delete
    1: 192.168.128.0/16
    2: 192.168.4.0/16
    x: Exit
    
    1. Enter the line number of the route to delete.
    2. Click y to confirm, or any other key to cancel.
      The route is unassigned from the interface and you return to the Add/Delete IP addresses sub menu.

 

Managing DNS

The Manage DNS Network submenu allows you to manage DNS settings. W

  1. Select 8 from the network menu. The current DNS Name Server settings are displayed and are similar to:

    Managing DNS Setting
    
    Current Name Servers:
        Primary: 192.168.8.8
        Secondary:
        Tertiary:
    Search Domains:
        okta.com someotherdomain.com
    1: Manage DNS servers
    2: Manage search domains
    x: Exit
    								

  2. Enter x to exit and return to the parent menu.

NIC bonding

NIC Bonding is the process of combining two ethernet ports together into a bonded virtual port. Typically, NIC Bonding is used if there is sufficient traffic on a single port to saturate a single network connection.

  1. Enter 5 to set up NIC bonding.

  2. Enter the IP address, and press the Enter key.

  3. Enter the netmask value and press the Enter key.

  4. Enter the default gateway value and press the Enter key. .

  5. Enter the primary DNS server value and press the Enter key.

  6. Enter the secondary DNS server value and press the Enter key.

  7. Enter the search domain address and press the Enter key.

  8. Press c to commit the changes.

  9. Review the network configuration and enter y and press the Enter key to confirm the changes. Alternatively, enter n and press the Enter key to discard your changes and return to the Networking menu.

  10. After the change is complete, enter any key to return to the Networking menu.

 

 

Related topics