4
1
As far as I know in IP networking the Broadcast address can be automatically calculated from the network and subnet mask.
Even so in Linux ethernet configuration file, we can manually set the broadcast address like:
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
**broadcast 192.168.1.255**
So why the broadcast address configurable by hand, what is the reason for it and what situations the automatically calculated address is not applicable?
1You may want to use non-default address for broadcasting... for example if you want to allow your broadcasts to be routed to another subnet. What's the reason for that can be - I don't know. – Akina – 2018-08-01T06:58:59.090