5.3. Network Interfaces


5.3.1. Adding a New Network Interface

You can add multiple network interfaces to virtual machines. Doing so allows you to put your virtual machine on multiple logical networks.

Procedure 5.4. Adding Network Interfaces to Virtual Machines

  1. Click the Virtual Machines tab and select a virtual machine.
  2. Click the Network Interfaces tab in the details pane.
  3. Click New.
    New Network Interface window

    Figure 5.1. New Network Interface window

  4. Enter the Name of the network interface.
  5. Use the drop-down lists to select the Profile and the Type of the network interface. The Profile and Type drop-down lists are populated in accordance with the profiles and network types available to the cluster and the network interface cards available to the virtual machine.
  6. Select the Custom MAC address check box and enter a MAC address for the network interface card as required.
  7. Click OK.
The new network interface is listed in the Network Interfaces tab in the details pane of the virtual machine. The Link State is set to Up by default when the network interface card is defined on the virtual machine and connected to the network.
For more details on the fields in the New Network Interface window, see Section A.2, “Explanation of Settings in the New Network Interface and Edit Network Interface Windows”.

5.3.2. Editing a Network Interface

In order to change any network settings, you must edit the network interface. This procedure can be performed on virtual machines that are running, but some actions can be performed only on virtual machines that are not running.

Procedure 5.5. Editing Network Interfaces

  1. Click the Virtual Machines tab and select a virtual machine.
  2. Click the Network Interfaces tab in the details pane and select the network interface to edit.
  3. Click Edit. The Edit Network Interface window contains the same fields as the New Network Interface window.
  4. Change settings as required.
  5. Click OK.

5.3.3. Hot Plugging a Network Interface

You can hot plug network interfaces. Hot plugging means enabling and disabling devices while a virtual machine is running.

Note

The guest operating system must support hot plugging network interfaces.

Procedure 5.6. Hot Plugging Network Interfaces

  1. Click the Virtual Machines tab and select a virtual machine.
  2. Click the Network Interfaces tab in the details pane and select the network interface to hot plug.
  3. Click Edit.
  4. Set the Card Status to Plugged to enable the network interface, or set it to Unplugged to disable the network interface.
  5. Click OK.

5.3.4. Removing a Network Interface

Procedure 5.7. Removing Network Interfaces

  1. Click the Virtual Machines tab and select a virtual machine.
  2. Click the Network Interfaces tab in the details pane and select the network interface to remove.
  3. Click Remove.
  4. Click OK.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.