Web lists-archives.com

Re: Ethernet is not started at boot

On Wed 07 Feb 2018 at 13:42:04 +1300, Richard Hector wrote:

> On 07/02/18 08:07, Brian wrote:
> > netmask and network are not needed. ifupdown will compute them. Note
> > there are no examples in interfaces(5) which use these parameters.
> The examples use CIDR notation instead, eg "address".
> The netmask line is an alternative to that. You need to tell it
> _somehow_ how big the subnet is.

As a changelog from May 2012 says:

  * Calculate netmask internally, so even if a user haven't supplied
    one or have used CIDR notation, hook scripts will have it properly
    specified in IF_NETMASK environment variable.