From Fedora Project Wiki
Description
This test is intended to test 802.1q vlan between virtual machines
How to test
- boot two virtual machines
- log into first virtual machine, and config the vlan through: ( join the vlan 10 )
vconfig add eth0 10;ifconfig eht0.10 192.168.123.11
- log into second virtual machine, and config the vlan through: ( join the vlan 20 )
vconfig add eth0 20;ifconfig eth0.20 192.168.123.12
- ping the second virtual machine in the first virtual machine and check the packet loss, if the packet loss is not 100%, fail the whole test case
ping -c 10 192.168.123.12
- log into second virtual machine, and config the vlan through: (join the vlan 10)
vconfig rem eth0.20;vconfig add eth0 10;ifconfig eth0.10 192.168.123.12
- ping the second virtual machine in the first virtualmachine and check the packet loss, if the packet loss is not 0%, fail the whole test case
- for each guest (both first and second), remove the vlan config
vconfig rem eth0.10
Expected Results
- Test results should meet requirements above