Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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-config-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 system-config-network-tui first.

...