Monitoring, Management & Location Tracking

How to change network settings(IP, Gateway, DNS) from CLI of Airwave?

Aruba Employee

Summary : In case of no access to GUI, we can change the IP address of the Airwave server from shell using the script network_setup

 

Introduction :

 

This article highlights how to re-configure network settings like IP address, Subnet mask, Gateway, DNS servers (primary and secondary) post install.

 

Environment : This is valid for all versions of Airwave

 

 

1) Login to shell of Airwave server using root account

2) Run the script network_setup

[root@amp-server scripts]# network_setup

------------------ Primary Network Interface Configuration ---------------

         1)  IP Address   : 10.162.118.200
         2)  Netmask      : 255.255.255.0
         3)  Gateway      : 10.162.118.1
         4)  Primary DNS  : 10.13.6.110
         5)  Secondary DNS: 196.41.0.11

         9)  Commit Changes
         0)  Exit (discard changes)

3) Select the option as shown below

> 5
Enter new Secondary DNS Server: 10.1.1.1

------------------ Primary Network Interface Configuration ---------------

         1)  IP Address   : 10.162.118.200
         2)  Netmask      : 255.255.255.0
         3)  Gateway      : 10.162.118.1
         4)  Primary DNS  : 10.13.6.110
         5)  Secondary DNS: 10.1.1.1

         9)  Commit Changes
         0)  Exit (discard changes)

4) Commit your changes with option 9

 > 9
dhclient: no process killed
Configuration Successful.  Exiting.

The above steps are really useful in scenarios where we have lost the GUI access or the server is not on the network yet and an IP change is required from the console.

The above settings can also be changed from AMP Setup > Network in the GUI

Version history
Revision #:
1 of 1
Last update:
‎11-10-2014 03:29 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.