4.2.4. Networking Parameters
Several networking options are available. The following parameters must be appended for the Hypervisor to automatically install:
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.
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:
link
- indicates to use the first interface (as enumerated by the kernel) with an active link. This is useful for systems with multiple network interface controllers but only one plugged in.
eth#
(where
#
is the number of the
NIC) - indicates to use the
NIC as determined by the kernel driver initialization order. To determine the number boot the Hypervisor and select
Shell from the Hypervisor Configuration Menu. Use
ifconfig | grep eth*
to list the network interfaces attached to the system. There is no guarantee that on the next reboot the network interface controller will have the same
eth#
mapping.
<MAC>
- indicates to use the MAC address explicitly defined inside the brackets.
Example 4.8. To use the First NIC
Example 4.9. Using an IP Address
Example 4.11. Using a Subnet Mask
The gateway
parameter sets the Internet gateway.
Example 4.12. Setting the Gateway
Example 4.13. Using two DNS Servers
dns=192.168.1.243:192.168.1.244
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
Example 4.15. Using two NTP Servers
ntp=192.168.2.253:192.168.2.254
Example 4.16. Using a VLAN