To configure the network card:
- In the Linux guest for the virtual machine, select System > Administration > Network.
- Make sure that the Devices tab is selected.
- Click New.
- Click Ethernet connection and click Forward.
- Click the network card you added by using hot add and click Forward.
- Follow the prompts to configure the network card or accept the defaults to obtain an IP address from a DHCP server.
- Click Apply.
- In the Devices tab, click the Ethernet connection.
- Click Activate.
- Click Yes to confirm the network card activation.
To configure the network card from the command line interface:
The below command is just an example and this may vary depending on the guest operating system type.
ifup eth2
Note: eth2 is the new network card that has been added.
Example below :-
# vi /etc/sysconfig/network-scripts/ifcfg-eth2
Additional Information
For translated versions of this article, see: