Set a static IP for the new instance

Content Intelligence Deploying the Example OVF

Version
2.2.x
Audience
anonymous
Part Number
MK-HCI003-15
ft:lastEdition
2023-10-23
In a terminal window on the newly added virtual machine instance:
  1. If you don't know the Ethernet port name for the virtual machine, run this command: ifconfig
  2. Change directories: cd /etc/sysconfig/network-scripts/
  3. Identify the configuration file for Ethernet port.
    The file name has this format: ifcfg-<Ethernet-port-name>
  4. In the Ethernet configuration file, specify values for IPADDR, GATEWAY, and DNS1. Leave the other values as they are.
  5. Restart the network. Run: sudo /etc/init.d/network restart
  6. Verify that the Ethernet configuration was updated correctly. Run: ifconfig