Hello Justin McZeal. On Wed, Apr 06, 2016 at 11:31:01AM -0500, Justin McZeal wrote: > Package: iproute2 > Version: 4.3.0-1+b1 > Severity: normal > > Dear Maintainer, > I'm using Stretch packages and I see a fundamental difference in > ifconfig/ip between Debian 8 and Debian 9. There are extra colons > being put in after the interface using /sbin/ifconfig and /sbin/ip. > I'm using a third party firewall agent that is unable to grab the > network interfaces correctly through /sbin/ip because of the colon not > being recognized on an interface. I need to know if this is fixable or > if there's a workaround. Or, is this the intended action? I've tried > the same procedures below on a Debian 8 system and they report back > the interface just fine. [...]
Unfortunate... but the "fake" "foo:X" interfaces has been deprecated for I guess soon almost 20 years now. It's not a real interface and there's absolutely no reason to use that syntax with ip(route2). The iproute2 suite has been designed from the start to properly handle multiple ip-addresses on the same interface. You can add and remove addresses on the fly as you go. No need to bring up extra fake interfaces for that. You should really stop using that syntax and any software who still relies on the syntax (and screen-scraping the output of tools rather than using the netlink interface) is likely quite out of date so you should probably consider moving to a more modern alternative. Regards, Andreas Henriksson