Perform the following postinstallation steps to configure the network on Oracle VM Server.
Editing the /etc/sysconfig/network File
You edit the /etc/sysconfig/network file to add the hostname of the machine and gateway and netmask for the network.
To edit the /etc/sysconfig/network file:
Navigate to and open the /etc/sysconfig/network file in a text editor.
Change the HOSTNAME to the name of the machine.
Enter the GATEWAY and NETMASK for the network.
For example:
NETWORKING=yes
NETWORKING_IPV6=no
GATEWAY=xx.xxx.xxx.x
NETMASK=xxx.xxx.xxx.x
HOSTNAME=<name of the machine>
Save the file.
Configuring bond0
You configure bond0 by editing the ifcfg-bond0 file.
To edit the ifcfg-bond0 file:
Navigate to and open the /etc/sysconfig/network-scripts/ifcfg-bond0 file in a text editor.
Change the BOOTPROTO to static.
For example:
BOOTPROTO=static
Add the IP Address of the machine.
For example:
IPADDR=xx.xxx.xx.xxx
Editing the hosts File
To edit the hosts file:
Navigate to and open the /etc/hosts file in a text editor.
Add the IP Address, host name, and alias for the host.
For example:
xx.xxx.xx.xxx exalyticsHost1.mycompany.com.exalytics Host1
Note:
Ensure the IP Address of the host is the same as the IP Address you entered in the ifcfg-bond0 file.
Editing the resolv.conf File
To edit the resolve.conf file:
Navigate to and open the /etc/resolve.conf file in a text editor.
Enter the DNS Server name and the Search base.
For example:
nameserver xxx.xxx.xxx.xxx
search xxx.mycompany.com
Note:
You can create additional bonded ports from Oracle VM Manager after the server is registered. See Creating a New Network Channel for Virtual Machines
Restarting the Exalytics Machine
To restart the Exalytics Machine:
In the left pane of the ILOM, expand Host Management, then select Power Control.
In the Select Action list, select Power Cycle, then click Save.
Parent topic: Installing and Configuring Oracle VM Server