Product SiteDocumentation Site

4.2.4. Networking Parameters

Several networking options are available. The following parameters must be appended for the Hypervisor to automatically install:
BOOTIF
The BOOTIF parameter is required for an automated installation.
The BOOTIF parameter specifies the network interface which the Hypervisor uses to connect to the Red Hat Enterprise Virtualization Manager.

Important — If Booting with PXE

When using PXE to boot Hypervisors for installation using the IPAPPEND 2 directive causes BOOTIF=<MAC> to be automatically appended to the kernel arguments. If the IPAPPEND 2 directive is used it is not necessary to use the BOOTIF parameter.
The BOOTIF parameter takes arguments in one of three forms:
Example 4.8. To use the First NIC
BOOTIF=eth0

ip
The ip parameter sets the IP address for the network interface controller defined by the BOOTIF parameter. The ip parameter accepts either an IP address (in the form 0.0.0.0) or the word dhcp (for DHCP).
Example 4.9. Using an IP Address
ip=192.168.1.1

Example 4.10. Using DHCP
ip=dhcp

netmask
The netmask parameter sets the subnet mask for the IP address defined with the ip parameter.
Example 4.11. Using a Subnet Mask
netmask=255.255.255.0

gateway
The gateway parameter sets the Internet gateway.
Example 4.12. Setting the Gateway
gateway=192.168.1.246

dns
The dns parameter sets the addresses of one or more DNS servers. Each DNS server must be separated by a colon.
Example 4.13. Using two DNS Servers
dns=192.168.1.243:192.168.1.244

hostname
The hostname parameter sets the hostname. The hostname must be a fully-qualified and resolvable domain name.
Example 4.14. Setting the Hypervisor hostname
hostname=rhev1.example.com

ntp
The ntp parameter sets the addresses of one or more Network Time Protocol servers. Each NTP server must be separated by a colon.
Example 4.15. Using two NTP Servers
ntp=192.168.2.253:192.168.2.254

vlan
The vlan parameter sets the VLAN identifier for the network connected to the Red Hat Enterprise Virtualization Manager. This parameter should be set where VLANs are in use.
Example 4.16. Using a VLAN
vlan=VLAN-ID