On Tuesday 17 May 2016 13:09:33 Gilles Mocellin wrote: > Le 17/05/2016 à 14:34, Mimiko a écrit : > > On 17.05.2016 15:16, Elimar Riesebieter wrote: > >> Ask your search engine: "init.d/networking restart is deprecated" > > > > This was the only tool to fully restart all networking even the > > interface thru which connection is made. > > Are the `ifdown eth & ifup eth` the only option now? > > Just to add these commands in that thread. > > To restart all the interfaces as they are defined in > /etc/network/interfaces, I do : > > # ifdown -a; ifup -a
Apparently I do not have something fully correct in my interfaces file, the above command string does not shut down or restart eth1. It leaves it in the state it found it in. Bug in ifdown -a? I dunno, and "ifconfig eth1 down" also has the only effect of nuking its address block in a route -n report. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.71.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 root@coyote:/etc/network# ifconfig eth1 up root@coyote:/etc/network# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.71.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 Spacing adjusted above to defeat my word wrap. So how did I make it work in the first place? DIIK. :( So it quite likely will be gone if I reboot. Interesting is that in a man 5 interfaces, it says the gateway address is colon delimited. I don't recall ever seeing that since my first install in early 1998. Does anyone ever actually read these man pages but me? Thanks Gilles 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>