I have a small network with the subnet mask 255.255.255.240 and the IP range is 192.168.2.1 - 192.168.2.12. From 192.168.2.1, I want to broadcast a packet. I don't want this packet to go anywhere outside this subnet. After reading several basic tutorials, I think the optimum broadcast address should be 192.168.2.255. But wikipedia says that
A special definition exists for the IP broadcast address 255.255.255.255. It is the broadcast address of the zero network or 0.0.0.0, which in Internet Protocol standards stands for this network, i.e. the local network. Transmission to this address is limited by definition, in that it is never forwarded by the routers connecting the local network to other networks.
Now, I'm bit confused. Does "the local network" refers to my subnet? Which one ensures that the packet doesn't go out of my subnet : 192.168.2.255 or 255.255.255.255?