title: Stuck on RHCSA excersise task
body: <p>so I am reading RHCSA &amp; RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide book and am stuck on one of the tasks where I need to create a virtual bridge device. Here is the task:</p>
  
  <p>In this exercise, you will create a virtual interface on host1 that will allow this host and server1 and server2, virtual
  164guests that you will build in this chapter, to communicate directly with each other on the same 192.168.0 subnet using a
  bridge. This interface will also be used by server1 and server2 during their build to access the RHEL7 installation files
  on the FTP server that you configured in Exercise 6-5 on host1. This interface will be named br0 and will use the IP
  assignments from em1 physical interface. These assignments are 192.168.0.100 IP address, 255.255.255.0 subnet
  mask, and 192.168.0.1 gateway.
  1. Change to /etc/sysconfig/network-scripts directory and create a file called ifcfg-br0 in vi. Add the directives as
  indicated below:</p>
  
  <h1>cd /etc/sysconfig/network-scripts; vi ifcfg-br0</h1>
  
  <p>DEVICE=br0</p>
  
  <p>BOOTPROTO=static </p>
  
  <p>ONBOOT=yes</p>
  
  <p>IPADDR=192.168.0.112</p>
  
  <p>NETMASK=255.255.255.0</p>
  
  <p>GATEWAY=192.168.0.1</p>
  
  <p>TYPE=Bridge</p>
  
  <p>NM_CONTROLLED=no</p>
  
  <ol start="2">
  <li>Edit the ifcfg-em1 file and set the following directives:
  
  <h1>vi ifcfg-em1</h1></li>
  </ol>
  
  <p>DEVICE=em1</p>
  
  <p>TYPE=Ethernet</p>
  
  <p>BRIDGE=br0</p>
  
  <p>ONBOOT=yes</p>
  
  <p>NM_CONTROLLED=no</p>
  
  <p>HWADDR=D4:BE:D9:2E:2E:D9</p>
  
  <p>So I created the 2 files with the required directives. The first thing that I suspect that I am getting wrong is the em1 device. This should probably be the name of my physical device (etc l0 or enp0s3). Or probably the issue is caused by the fact I am working on VirtualBox CentOS machine but there is the output I get from brctl show br0 command:</p>
  
  <p>bridge name   bridge id     STP enabled interfaces</p>
  
  <p>br0     8000.000000000000   no</p>
  
  <p>As you can see the em1 is missing under the interfaces colon. And here is what I get with the same command for em1 device</p>
  
  <p>bridge name bridge id       STP enabled interfaces</p>
  
  <p>em1     can't get info No such device</p>
  
  <p>Can you please let me know what I am missing/doing wrong. </p>
  
  <p>My apologies for the log post and that probably this is a newbie stuff for someone but any help will be greatly appreciated. </p>