Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

In almost all the network configuration examples I can find, I always see this "network" line appear with an address ending in .0.

auto eth0 iface eth0 inet static
 -> network

According to this post, the value can be found by applying the mask to the IP using a logical AND. If this is the case, why does the line even need to be in the file? Can I remove it?

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, slhck Apr 10 '13 at 14:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Yes. This answers my question perfectly. Thank you. I searched for an answer before posting my question but didn't find anything... Likely due to how common the word "network" is. – Mr Grieves Apr 10 '13 at 14:15
I still don't understand why this line needs to be in the network file if it can be obtained simply by applying the mask to the ip. – Mr Grieves Apr 10 '13 at 14:16
up vote 3 down vote accepted

It is the network address - see the man page here

If you know your IP and Netmask you can work out the Network address:

(Netmask means match first 3 chunks of your IP exactly and any for the last bit)
Network address:

Usually meaning that devices on your network will have an IP between and

Note: I have used interfaces files on several different Linux flavours and left out Network Address and its worked just fine. If it bothers you that much; backup, remove it and try!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .