On Sunday 28 October 2018 12:23:35 Reco wrote: > Hi. > > On Sun, Oct 28, 2018 at 12:04:54PM -0400, Gene Heskett wrote: > > > On Sun, Oct 28, 2018 at 07:04:02AM -0400, Gene Heskett wrote: > > > > > Ever consider you're doing it the wrong way? > > > > > This will work: > > > > > > > > > > iface eth0 inet static > > > > > address 192.168.NN.12 > > > > > netmask 24 > > > > > gateway 192.168.NN.1 > > > > > > > > in 20 years, I have never seen that syntax used. What man page > > > > do I find that format in. > > > > > > interfaces(5), the usual place. > > > > I just checked that man page on wheezy, jessie and stretch, and no > > examples are found using "netmask 24" > > You asked for 'format', not 'example'. > The 'format' is defined at netmask under INET ADDRESS FAMILY. > > > address 192.168.##.##/24 is supposed to be understood as netmask > > 255.255.255.0, and has worked here forever. And remains in the man 5 > > interfaces page. > > True. > > > And has Just Worked, until now with stretch. > > And it does now. > > > Also, I haven't ever seen an official definition of "CIDR", so its > > possible I need tutoring on that. IMO any man page that uses an > > acronym, needs to include its definition. > > RFC 4632. As official as it gets. >
So I read it. At no place in that document is netmask stated in the "netmask 24" format, its always as address/24 or dotted quad. Next argument? > > > > > ifdown eth0 > > > > > ifup -v eth0 > > > > Will have to be done from its own keyboard unless a ; to separate > > them. > > Gene, if I needed a *normal* result of this sequence I'd asked for > one. What I've asked was a *broken* one, which does not get a default > route as a result. > > So, either it did not happen, or ...? > > Reco -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>