From Fedora Project Wiki

Revision as of 20:09, 16 September 2009 by Drjones (talk | contribs)


This test case verifies that Xen DomU networking works correctly, including the ability to attach/detach network devices.

How to test

  1. From the dom0, attach new virbr to the rawhide domU
    $> virsh attach-interface rawhide bridge virbr0
  2. Inside the guest, run
    $> ifconfig
    You should be able to it.
  3. Trying pinging the gateway from it
    $> ping -I eth? -c 2 
  4. From the dom0, disconnect the disk from the rawhide guest
    $> virsh detach-interface rawhide bridge
  5. Download this script to the dom0, and make it executable with chmod +x This shell script attempts to attach 40 network devices. Run it with
    See how many attached, there should probably be at least 16.
  6. When you are finished, run
    $> rawhide remove
    to clean up.

Expected Results

  1. The network devices should be presented to the domU on attach-interface, and removed from the guest on detach-interface.
  2. The rawhide guest should be able to use the network interfaces.