Installation guide

8139cp
8139too
e1000
2. Remove the old network scripts from the /etc/sysconfig/network-scripts directory.
3. Reboot the guest. The default network interface should now use the para-virtualized drivers.
12.3.5. Xen Para-virt ualiz ed Drivers on Red Hat Ent erprise Linux 6
This section describes the use of para-virtualized drivers in a Red Hat Enterprise Linux 6 guest.
The para-virtualized drivers are enabled by default for a Red Hat Enterprise Linux 6 guest. The guest
will automatically unplug any emulated devices that are presented to it, and will use the para-
virtualized drivers instead.
Although the para-virtualized drivers are enabled by default, they can be disabled. Add the following
to the guest kernel command line upon boot to disable the para-virtualized drivers:
xen_emul_unplug=never
12.4. Para-virt ualized Net work Driver Configurat ion
Once the para-virtualized network driver is loaded you may need to reconfigure the guest's network
interface to reflect the driver and virtual Ethernet card change.
Perform the following steps to reconfigure the network interface inside the guest.
1. In virt-manager open the console window for the guest and log in as root.
2. On Red Hat Enterprise Linux 4 verify the file /etc/modprobe.conf contains the line “ alias
eth0 xen-vnif .
# cat /etc/modprobe.conf
alias eth0 xen-vnif
3. To display the present settings for eth0 execute “ # ifconfig eth0 . If you receive an error
about the device not existing you should load the modules manually as outlined in
Section 37.4, “ Manually loading the para-virtualized drivers .
ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:00:6A:27:3A
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:630150 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:109336431 (104.2 MiB) TX bytes:846 (846.0 b)
4. Start the network configuration utility(NetworkManager) with the command # system-
config-network . Click on the “ Forward button to start the network card configuration.
Chapt er 1 2 . Xen Para- virt ualiz ed Drivers
161