[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150308065744.GB1986@nanopsycho.orion>
Date: Sun, 8 Mar 2015 07:57:44 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH iproute2] route: label externally offloaded routes
Sun, Mar 08, 2015 at 07:15:35AM CET, sfeldma@...il.com wrote:
>From: Scott Feldman <sfeldma@...il.com>
>
>On ip route print dump, label externally offloaded routes with "external".
>Offloaded routes are flagged with RTNH_F_EXTERNAL, a recent additon to
>net-next. For example:
>
>$ ip route
>default via 192.168.0.2 dev eth0
>11.0.0.0/30 dev swp1 proto kernel scope link src 11.0.0.2 external
>11.0.0.4/30 via 11.0.0.1 dev swp1 proto zebra metric 20 external
>11.0.0.8/30 dev swp2 proto kernel scope link src 11.0.0.10 external
>11.0.0.12/30 via 11.0.0.9 dev swp2 proto zebra metric 20 external
>12.0.0.2 proto zebra metric 30 external
> nexthop via 11.0.0.1 dev swp1 weight 1
> nexthop via 11.0.0.9 dev swp2 weight 1
>12.0.0.3 via 11.0.0.1 dev swp1 proto zebra metric 20 external
>12.0.0.4 via 11.0.0.9 dev swp2 proto zebra metric 20 external
>192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.15
>
>Signed-off-by: Scott Feldman <sfeldma@...il.com>
Reviewed-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists