Welcome to the Linux Foundation Forum!

/etc/network/interfaces, 'broadcast'


What is the 'broadcast' under an interface (such as eth0)? The example config shows for broadcast. According to a not-as-straight-forward Google search, 'broadcast' is known as the Broadcast ID.

What is that? I have two external static IP addresses, and I was able to get all the information I needed (including for 'network'), except for 'broadcast' because the support tech. was not sure what "broadcast ID" is or was (and neither am I). What am I supposed to set it as? Is it a required line?

EDIT: Massive fail in another thread.

The broadcast is known, but the 'network' isn't. I am wanting to know what 'network' is, and what the value of it should be.


  • mfillpot
    mfillpot Posts: 2,177
    You can get the broadcast address and other interface based information by running "ifconfig -a" in a root shell.
  • saqman2060
    Broadcast ID is the total range of IP addresses that your network supports. It covers all the IP address combinations. For example: is a broadcast ID. This means your network can have a total of 255 IP addresses. is your network address. This cannot be assigned to a computer. Your router stores that information.
  • saqman2060
    When your network interface asks for a broadcast address, substitute the "0s" in your network address with "255".


Upcoming Training