[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wpieps6o.fsf@zoro.exoscale.ch>
Date: Wed, 14 Sep 2016 14:43:59 +0200
From: Vincent Bernat <vincent@...nat.im>
To: "David S. Miller" <davem@...emloft.net>
Cc: Nicolas Dichtel <nicolas.dichtel@...nd.com>,
David Ahern <dsa@...ulusnetworks.com>,
Wilson Kok <wkok@...ulusnetworks.com>, netdev@...r.kernel.org
Subject: Re: [net v1] fib_rules: interface group matching
❦ 14 septembre 2016 14:40 CEST, Vincent Bernat <vincent@...nat.im> :
> Each interface can be assigned to a numeric group using IFLA_GROUP. This
> commit enables a user to reference such a group into an IP rule. Here is
> an example of output of iproute2:
>
> $ ip rule show
> 0: from all lookup local
> 32764: from all iifgroup 2 lookup 2
> 32765: from all iifgroup 1 lookup 1
> 32766: from all lookup main
> 32767: from all lookup default
The patch for iproute2 is available here (didn't post it inline to avoid
confuse patchwork):
http://paste.debian.net/821247/
--
Say what you mean, simply and directly.
- The Elements of Programming Style (Kernighan & Plauger)
Powered by blists - more mailing lists