Answer the question
In order to leave comments, you need to log in
What are the consequences of NOT writing to /etc/network/interfaces broadcast?
I just tormented the question, I can’t google it for the second day. I understand very well what a broadcast address is and what it does, but I don’t understand how it will happen if you don’t explicitly specify it in the interface and / or dhcp server settings, but it still works.
Answer the question
In order to leave comments, you need to log in
nothing will happen
this address is remarkably calculated by the address and the mask.
there will be no consequences.
it is enough to specify
the address
mask or prefix
gateway
The rest is optional
broadcast, network, scripts.
I've seen an old edition of Linux where ifconfig incorrectly calculated the broadcast address from the mask in some cases. I have not seen this in modern distributions for a long time.
at the same time, I fully admit the case when the broadcast address must be different from the automatically calculated one, then without the parameter you specified, in any way.
In any modern distribution, broadcast (as well as the address of the network itself) will be calculated automatically.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question