...
Out of the box, the Opmantek VM requires no configuration changes to work, however you may wish to make changes so it complements your particular network environment. Items such as using HTTPS, setting the hostname or configuring the IP stack are all configurable.
ssh and console access credentials are here: Default Credentials (Passwords) for NMIS8 and NMIS9 VMs
Secure Access with https (optional)
...
- Option #1 - Manual configuration
The VM appliance is a normal CentOS 7 system, hence all the mechanisms for network configuration in CentOS are available.
Most specifically you'll be interested in the files/etc/hosts
,/etc/sysconfig/network
,/etc/sysconfig/iptables
and/etc/sysconfig/network-scripts/<interface_name>
. - Option #2 - Use our example network configuration files
Root's home directory contains 2 example network configurations, one for static IP's and one for DHCP. Copy the one you require to
/etc/sysconfig/network-scripts/
and edit it to suit:cp
ifcfg-ens192.static
/etc/sysconfig/network-scripts/
<interface_name>
Be sure to verify the following settings:
...
Next restart the network service for the setting to take affect. In our testing the DHCP address was still present, and the static IP assigned as a secondary (this can be seen with the 'ip address' command). The DHCP address can be removed by using the 'ip address command del' command or be rebooting the system.
|