N
N
Nicholas Secret2015-10-02 08:19:42
linux
Nicholas Secret, 2015-10-02 08:19:42

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

4 answer(s)
R
Ruslan Fedoseev, 2015-10-02
@Ncla

nothing will happen
this address is remarkably calculated by the address and the mask.

A
Azazel PW, 2015-10-02
@azazelpw

there will be no consequences.
it is enough to specify
the address
mask or prefix
gateway
The rest is optional
broadcast, network, scripts.

V
vreitech, 2015-10-02
@fzfx

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.

V
Vlad Zhivotnev, 2015-10-04
@inkvizitor68sl

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 question

Ask a Question

731 491 924 answers to any question