Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated vm getting started guide a bit

...

At this point the VM has DHCP enabled so the , and therefore it will receive a dynamic IP address suitable for your environment. The easiest way to access it the VM at that point is from the VM virtualization software terminal.  We will set the IP so we can easily login from any terminal.  So So go ahead and boot the VM, after the VM is finished booting you will be welcomed by a login prompt, login:User: root
Password: NM1$88. First, log in using the default credentials.

You now have three options to configure custom networking options:

  • manual configuration
    The VM appliance is a normal CentOS 6 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/ifcfg-eth0.
  • 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:

    Code Block
    cp ifcfg-eth0.static /etc/sysconfig/network-scripts/ifcfg-eth0

...

  • Now set the IP, netmask, gateway, and DNS if you like ( to add DNS you can add two lines, one for each server: DNS1=ip , DNS2=ip)

...

  • ; finally, run service network restart to activate.

  • use the menu-based tool system-network-config
    Simply type  in system-network-config and follow the prompts.
    Please note: in Opmantek VM appliances before 8.5.12G the  tool is not preinstalled and you have to run yum install

Alternately

You could also install a text based UI to help you:

...

  • system-config-network

...

  • -tui first.

Troubleshooting Network Problems

...