Change IP Address change default ip address

Change IP Address

To change ip address you should use tacacsgui script.

  1. Login to server via esxi console. Use default login tacgui and default password tacgui. Execute next command sudo ~/tgui_install/tacacsgui.sh. The system will request a password, use default password one more time, then select Network Settings (3).

  2. Example of configuration below:

    ###############################################################
    ##############   TACACSGUI Network Settings Script    #########
    ###############################################################
    
    ver. 1.0.0
    
    ##############     List of available options    ##############
    
    1) Show Interface List      4) Clear and Refresh Menu
    2) Show Interface Settings  5) Back to Main Menu
    3) Configure interface
    
    Please enter your choice (4 to clear output): 1 #show list of interface
    
    ### Show Interface List ###
    
    lo
    ens160
    
    Please enter your choice (4 to clear output): 2 #show interface settings
    
    ### Show Interface Settings ###
    
    Type the name of interface: ens160 #type interface name
    Netifaces info:
    ip address: 10.6.20.10/24
    defaultgw: 10.6.20.1
    nameservers: 8.8.8.8, 77.88.8.8
    
    Please enter your choice (4 to clear output): 3 #change interface settings
    
    
    Type the name of interface: ens160 #type interface name
    ######################## 
    Welcome to interactive mode of
    Network Interface Configuration
    ########################
    
    IP Address: 10.6.20.10 #type ip address
    Mask: 255.255.255.0 #type mask
    Network Address: 10.6.20.0/24 
    Gateway (Optional): 10.6.20.1 #type gateway
    Nameservers (Optional, comma separated): 8.8.8.8 #type nameservers
    ########################
    Please check settings:
    IP Address: 10.6.20.204/24
    Gateway: 10.6.20.1
    Nameservers: 8.8.8.8
    Is it correct? (y/n): y #type y if everything correct
    done
    Done
    
    Please enter your choice (4 to clear output): 5 #back to installation menu
    
Author: Alexey Mochalin; Created at: 2018-11-02 10:26:55; Updated at: 2019-04-25 14:42:11