12.4. Para-virtualized Network Driver Configuration
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.
- In
virt-manageropen the console window for the guest and log in asroot. - On Red Hat Enterprise Linux 4 verify the file
/etc/modprobe.confcontains the line “alias eth0 xen-vnif”.cat /etc/modprobe.conf alias eth0 xen-vnif
# cat /etc/modprobe.conf alias eth0 xen-vnifCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To display the present settings for
eth0execute “# 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”.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Start the network configuration utility(NetworkManager) with the command “
# system-config-network”. Click on the “” button to start the network card configuration. - Select the '' entry and click ''.Configure the network settings as required.
- Complete the configuration by pressing the '' button.
- Press the '' button to apply the new settings and restart the network.
- You should now see the new network interface with an IP address assigned.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow