Tom Browder <tom.brow...@gmail.com> wrote: > On Wed, Jul 26, 2017 at 2:11 PM, Sven Hartge <s...@svenhartge.de> wrote:
> So can the above be simplified by leaving out the repeated info like > dns-nameservers, gateway, and netmask to give something like: > #===================================== > iface eth0 inet static > address 142.54.186.2 > netmask 255.255.255.248 > gateway 142.54.186.1 > dns-nameservers 192.187.107.16 69.30.209.16 > iface eth0 inet static > address 142.54.186.3 > iface eth0 inet static > address 142.54.186.4 > iface eth0 inet static > address 142.54.186.5 > iface eth0 inet static > address 142.54.186.6 I do believe you need the "netmask" option, but the rest is just needed once. But from reading interfaces(5) I think you further simplify by writing: ,---- | auto eth0 | iface eth0 inet static | address 142.54.186.2/29 | gateway 142.54.186.1 | dns-nameservers 192.187.107.16 69.30.209.16 | iface eth0 inet static | address 142.54.186.3/29 | iface eth0 inet static | address 142.54.186.4/29 | iface eth0 inet static | address 142.54.186.5/29 | iface eth0 inet static | address 142.54.186.6/29 `---- Grüße, Sven. -- Sigmentation fault. Core dumped.