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 Command line management console.

To access the command line management console:

  1. Using SSH connect to the Access Gateway command line 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 Command Line Management Console as described above and navigate to a network interface as described above.
  1. Enter the line number of the interface to manage or x to exit:
    Available networking interfaces. Select interface to manage:
    1: eth0
    2: eth1
    3: eth2
    . . . 
    x: Exit
    
    Interface information for the selected interface will be displayed along with the manage interface sub-menu.
    For example, clicking 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. Press a to manage the IP Address for the interface.
    Press d to setup DHCP for an interface.
    Press r to manage routes for the interface.

    Assign IP Address
    Entering a begins the add static IP address process.
    Note: If a static IP address or a DHCP assigned address already exists for an interface then this option is not shown.
    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 will be 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 a to abort the change.
    6. Enter c to continue with change.
  4. Setup DHCP

    Enter d begins the process of settings up DHCP for an interface.

  5. Enter d.
    A confirmation will display.
    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 will be 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 Command Line Management Console as described above and navigate to a network interface as described above.

Manage Route
Entering r begins the add route process
For example:

The manage routes sub menu will display, and resemble:

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 will be 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 will be 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 will display and resemble:
    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 unassigned from the interface and you will be returned 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 will display, resembling:

    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. Press 5 to set up NIC bonding.

  2. Enter the IP address, and press Enter.

  3. Enter the netmask value, and press Enter.

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

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

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

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

  8. Press c to commit the changes.

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

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

 

 

See Also