From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# Trying pinging the gateway from it <pre>$> ping -I eth? -c 2 192.168.122.1 </pre> | # Trying pinging the gateway from it <pre>$> ping -I eth? -c 2 192.168.122.1 </pre> | ||
# From the dom0, disconnect the interface from the rawhide guest <pre>$> virsh detach-interface rawhide bridge</pre> | # From the dom0, disconnect the interface from the rawhide guest <pre>$> virsh detach-interface rawhide bridge</pre> | ||
# | # Try adding at least 16 with something like this <pre>$>for i in `seq 1 15` ; do virsh attach-interface rawhide bridge virbr0 ; done</pre> | ||
# | # Now repeat the steps but with type xenbr0, i.e. use <pre>$> virsh attach-interface rawhide bridge xenbr0</pre> to attach. | ||
|results= | |results= | ||
# The network devices should be presented to the domU on attach-interface, and removed from the guest on detach-interface. | # The network devices should be presented to the domU on attach-interface, and removed from the guest on detach-interface. |
Revision as of 20:15, 16 September 2009
Description
This test case verifies that Xen DomU networking works correctly, including the ability to attach/detach network devices.
How to test
- From the dom0, attach a new virbr0 type interface to the rawhide domU
$> virsh attach-interface rawhide bridge virbr0
- Inside the guest, run
$> ifconfig
You should be able to see it. - Trying pinging the gateway from it
$> ping -I eth? -c 2 192.168.122.1
- From the dom0, disconnect the interface from the rawhide guest
$> virsh detach-interface rawhide bridge
- Try adding at least 16 with something like this
$>for i in `seq 1 15` ; do virsh attach-interface rawhide bridge virbr0 ; done
- Now repeat the steps but with type xenbr0, i.e. use
$> virsh attach-interface rawhide bridge xenbr0
to attach.
Expected Results
- The network devices should be presented to the domU on attach-interface, and removed from the guest on detach-interface.
- The rawhide guest should be able to use the network interfaces.