Here are some explanations to the filters we saw in the previous paragraph.
- Ethernet broadcasts: For Ethernet, broadcasts are packets that are sent to addresses with all 1s in the destination field, and this is why, to find all broadcasts in the network, we write the filter eth.dst == ffff.ffff.ffff.
- IPv4 multicast: IPv4 multicasts are packets that are sent to an address in the address range 224.0.0.0 to 239.255.255.255, that is, in binary, the address range 11100000.00000000.00000000.00000000 to 11101111.11111111.11111111.11111111.
For this reason, if you look at the binary representation, a destination multicast address is an address that starts with three 1s and a 0, and therefore a filter to IPv4 multicast destinations ...