Know how to assign or change the IP address in IWSVA.
You may assign or change an IP address via the Command Line Interface (CLI).
- Login as root user to IWSVA via SSH (putty).
- Edit /etc/sysconfig/network-scripts/ifcfg-eth0 using vi editor.
- Press 'Insert' key or letter ”i” on your keyboard to edit this file and enter the correct IP address, Gateway, Subnet Mask using the format below.
- To save the changes, press 'Esc' key on your keyboard. Type ":wq" then press 'Enter'.
- To add a DNS entry, edit /etc/resolv.conf. To save the changes, press 'Esc' on your keyboard. Type ":wq" then press 'Enter'.
- Restart the network services using the command "service network restart".
You may also assign or change an IP address via CLISH.
- Login as root then type “clish”. Type "enable" to enter Privileged Mode.
- Type "configure network interface ipv4 static eth0 <ipaddress> <subnet mask>"
- Assign a default gateway by typing "configure network route ipv4 default 10.201.0.1".
- Assign DNS : configure network dns ipv4 10.201.161.55 10.200.0.2. (where DNS 1 is 10.201.161.55 and DNS 2 is 10.200.0.2)