From: David Ahern <dsahern@kernel.org>
To: Magesh M P <magesh@digitizethings.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: gateway field missing in netlink message
Date: Wed, 4 May 2022 15:31:00 -0700 [thread overview]
Message-ID: <20220504223100.GA2968@u2004-local> (raw)
In-Reply-To: <DM5PR20MB2055102B86DB2C2E41682CE3AEC39@DM5PR20MB2055.namprd20.prod.outlook.com>
On Wed, May 04, 2022 at 06:46:05AM +0000, Magesh M P wrote:
> Hi
>
> I am trying to configure dual gateways with ip route command.
>
> Ip route show command shows the dual gateway information.
>
> I got a vpp stack that is running. The communication of route entries between Linux kernel and vpp stack is through netlink messages.
>
> On parsing the netlink message for the route entry with dual gateways, we see that the message carries only single gateway. Is this a known bug ? Please suggest a solution to resolve this.
>
If `ip route show` lists a multipath route, the bug is in your app. Are
you handling RTA_MULTIPATH attribute?
next prev parent reply other threads:[~2022-05-04 22:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 6:46 gateway field missing in netlink message Magesh M P
2022-05-04 22:31 ` David Ahern [this message]
2022-05-05 3:43 ` Magesh M P
2022-05-05 3:49 ` Stephen Hemminger
[not found] ` <DM5PR20MB20556090A88575E4F55F1EDAAEC29@DM5PR20MB2055.namprd20.prod.outlook.com>
[not found] ` <DM5PR20MB2055F01D55F6F7307B50182EAEC29@DM5PR20MB2055.namprd20.prod.outlook.com>
[not found] ` <20220505092851.79d3375a@hermes.local>
[not found] ` <DM5PR20MB2055542FB35F8CA770178F9AAEC69@DM5PR20MB2055.namprd20.prod.outlook.com>
2022-05-09 6:59 ` Magesh M P
2022-05-09 15:32 ` David Ahern
[not found] ` <20220509080511.1893a939@hermes.local>
[not found] ` <DM5PR20MB2055EBCA16DFB527A7E9A32FAEC89@DM5PR20MB2055.namprd20.prod.outlook.com>
2022-05-11 5:35 ` Magesh M P
2022-05-11 15:56 ` Stephen Hemminger
2022-05-11 16:25 ` David Ahern
2022-05-05 3:50 ` Stephen Hemminger
2022-05-05 4:14 ` Magesh M P
2022-05-05 4:13 ` David Ahern
-- strict thread matches above, loose matches on Subject: below --
2022-05-12 6:33 Magesh M P
2022-05-19 6:11 Magesh M P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220504223100.GA2968@u2004-local \
--to=dsahern@kernel.org \
--cc=magesh@digitizethings.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.