This command is used to configure network parameters for the Linux based Manager.
Note
Reboot the Linux based Manager machine after executing
set network configurationcommand for successful configuration of the network parameters.
Syntax:set network configuration
Select the type of NIC configuration:
Please select one of the below option:
1 -> Configure Single NIC
2 -> Configure Both the NIC's
Input 1 or 2 based on you selection :<1/2>
Enter the NIC you want to configure with public network ip:
1 -> eth0 [NIC 1]
2 -> eth1 [NIC 2]
Input 1 or 2 based on your selection : <1/2>
Enter the DOMAIN NAME : <Manager_Domain_Name>
Enter the HOSTNAME : <Manager_Hostname>
Configuring <eth0/eth1> with public ip
Enter the IP ADDRESS : <Manager_Public_IP_Address>
Enter the NETMASK : <Netmask_IP_Address>
Enter the GATEWAY : <Gateway_IP_Address>
Enter the DNS1 : <DNS1_Server_IP_Address>
Do you want to set DNS2 ? (y/n): <y/n>
Enter the DNS2 : <DNS2_Server_IP_Address>
Configuring <eth0/eth1> with private ip
Enter the IP ADDRESS : <Manager_Private_IP_Address>
Parameters | Description |
|---|---|
| Enter the domain name for the Manager server. |
| Enter the hostname to be assigned to the Manager server. |
| Enter the public IP address to be assigned to the Manager server. |
| Enter the subnet mask for the Manager server. |
| Enter the gateway address for the Manager server. |
| Enter primary DNS server IP address. |
| Type |
| (Optional) Enter secondary DNS server IP address. |
| Enter the private IP address to be assigned to the Manager server. |
Sample Output:
IPSManager> set network configuration
[sudo] password for admin:
*****Setting up all the required network configuration.*****
Select the type of NIC configuration:
Please select one of the below option:
1 -> Configure Single NIC
2 -> Configure Both the NIC's
Input 1 or 2 based on you selection : 2
Enter the NIC you want to configure with public network ip:
1 -> eth0 [NIC 1]
2 -> eth1 [NIC 2]
Input 1 or 2 based on your selection : 1
Enter the DOMAIN NAME : mydomain.com
Enter the HOSTNAME : mycompany
Configuring eth0 with public ip
Enter the IP ADDRESS : 10.1.1.1
Enter the NETMASK : 255.255.255.0
Enter the GATEWAY : 10.1.1.252
Enter the DNS1 : 10.1.2.11
Do you want to enter DNS2 ? (y/n): y
Enter the DNS2 : 10.2.1.3.
Configuring eth1 with private ip
Enter the IP ADDRESS : 10.1.1.7
Your mac address is 00:50:56:89:ec:83
*****Networking configuration setup complete.*****
Restarting network (via systemctl): [ OK ]