From Fedora Project Wiki
Description
This test is intended to test multicast on virtual machine
How to test
- boot a virtual machine
- log into this virtual machine, and join it three multicast groups
- ip maddr add 01:00:5e:c0:01:64 eth0
- ip maddr add 02:00:5e:c0:01:64 eth0
- ip maddr add 03:00:00:00:40:00 eth0
- 01:00:5e:c0:01:64 is a IP Multicast macaddress
- 02:00:5e:c0:01:64 is a General macaddress
- 03:00:00:00:40:00 is a Lan Manage Multicast mac address
- listen the multicast packets using tcpdump on this virtual machine
tcpdump -ep ether multicast 2>/dev/null |tee /tmp/multicast.tmp 1>/dev/null
- produce three random date packets and send to three multicast macaddress on host
- packet1 --> 01:00:5e:c0:01:64
- packet2 --> 02:00:5e:c0:01:64
- packet3 --> 03:00:00:00:40:00
- sleep 20 seconds, and kill tcpdump processer in the virtual machine
- copy the tcpdump result to host, and check if the tcpdump's result contains that three packets.
grep content[i] /tmp/multicast.tmp
Expected Results
- the tcpdump's result should contain that three packets.