What is the best mask to use to allow computers to use the multicast IP address

I've only seen IP addresses using the lower 8 bits, in my case I just see 22 and 251.

So my firewall uses an entry as follow:

-A INPUT -i eth1 -p udp -m udp -s -d -j ACCEPT

Now I have found other definitions that use a mask as small as 4 or 5 for the address. What is the right mask according to the use of the address scope definition?

  • 2
    As Ron alludes, the correct answer is "/4" ( That is the size of the multicast block.
    – Ricky
    Aug 3, 2015 at 1:00

1 Answer 1


You can't use any addresses from (except for multicast) through, and is a Limited Broadcast address.

Multicast addresses are Masks are not used in multicast; you subscribe, individually, to multicast groups.

Reserved addresses are While named "Class E" in the old class routing scheme, their use is undefined (they can't be used as source or destination addresses, and they can't be forwarded, per RFC 6980).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.