Bookmark this page

Guided Exercise: Managing Logical Networks

In this exercise, you will create logical networks for one of your clusters that will separate RHV management traffic from storage and VM traffic.

Outcomes

You should be able to:

  • Create a logical network named vm-net and tag it as VLAN 10, for VM traffic.

  • Create an untagged logical network for storage traffic named storage-net.

Log in to workstation as student using student as the password.

On workstation, run the lab manage-networks start command. This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.

[student@workstation ~]$ lab manage-networks start
  1. Log in to workstation as student user with student as password. Open Firefox and log in to the Administration Portal, https://rhvm.lab.example.com, as the admin user with the internal profile, using redhat as password.

  2. Separate the management network traffic from virtual machine network traffic by creating a new logical network called vm-net for the virtual machine traffic. This network will be on VLAN 10.

    1. In the menu click on Network, then select Networks. Click the New button to create a new network. In the New Logical Network dialog window, fill in the fields using the following information:

      Table 6.1. 

      FieldValue
      Data Centerdevelopment
      Namevm-net
      DescriptionVM Network
      CommentNetwork for VM Traffic
      Enable VLAN TaggingEnabled
      In the text field next to the Enable VLAN tagging check box, enter the VLAN number:10
      VM networkEnabled

    2. Leave the other options with their default values and click the OK button to create the network.

    3. Notice that the new network appeared on the list of available networks. This confirms the creation of the new logical network.

  3. Create another logical network, called storage-net, to separate the storage traffic from other networks. This logical network does not use VLAN tagging, but will eventually be assigned its own dedicated physical interface on each host in the cluster.

    1. Click the New button to create the new logical network.

    2. In the New Logical Network dialog window, complete the fields as follows:

      Table 6.2. 

      FieldValue
      Data Centerdevelopment
      Namestorage-net
      DescriptionStorage Network
      CommentNetwork for storage traffic
      Enable VLAN TaggingDisabled
      VM networkDisabled

    3. Leave the other options with their default values and click the OK button to create the network.

    4. Notice that the new network displays on the list of available networks. This confirms the creation of the new logical network.

Finish

On workstation, run the lab manage-networks finish script to complete this exercise.

[student@workstation ~]$ lab manage-networks finish

This concludes the guided exercise.

Revision: rh318-4.3-c05018e