On Mon, Jul 31, 2017 at 04:41:22PM +0100, Peter Collinson wrote: > I am a Debian newbie - and arrived after many years of Redhattery. > RHEL has a per-interface file of rules and routes commands for the > ip command which can be used to both on up and down. The files > contain command lines for the ip command but they don't have > /bin/ip add or /bin/ip del so they are re-usuable. [...] > All this may have been suggested before, or be against Debian > philosophy so if this is Debian 'rubbish' please feel free to > ditch this report.
Thanks for the suggestion Peter. I agree it would be nice to have this kind of functionality in the default network configuration tool of Debian. However, Debian does not only run on Linux kernels, and ifupdown tries to cater to FreeBSD and Hurd kernels as well. I'm not sure adding another, Linux-only way of configuring interfaces is the right thing to do. If anything, I'd rather change the syntax of the /etc/network/interfaces file in such a way that you can write: iface eth0 address 192.168.1.1/24 address fec0:1::1/64 route 10.1.1.0/24 route fec0:2::/64 via fec0:1::2 rule from 172.16.0.0/16 table foo ...etc... Since that still looks very much like the current syntax, and the simple forms of address and route can easily be supported on other kernels. -- Met vriendelijke groet / with kind regards, Guus Sliepen <g...@debian.org>
signature.asc
Description: PGP signature