I have a small network with the subnet mask and the IP range is - From, 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 But wikipedia says that

A special definition exists for the IP broadcast address 
It is the broadcast address of the zero network or, 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 : or


Actually, your IP range for (which is the network with the address and netmask you have given) is, and your broadcast is

here's an IPv4 calculator (there are others)


The bradcast address for, your subnet, is If you do not want to reach anyone outside your net, this is it.

There are tools fro helping you out with these computations, I am on Linux and use ipcalc, on Windows there is Ipcalc.Net, but I am sure sure there are more on all OS's.


The is s a directed broadcast which will be heard by all in the same subnet which is in your case

If you use the it will be received by everybody in the network and not just in a specific subnet.

  • --> Limited to a specific subnet
  • --> everybody

So if you don't want that your broadcast leaves your subnet, you have to choose

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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