Hello Anonymous,

In order to debug IP forwarding issues I’m going to need more info. Please 
collect:
  ‘sh ip fib <YOUR_PREFIX>’
From a working and non-working configuration.

All FIB load-balancing is per-flow. So if you don’t have enough flows you won’t 
[necessarily] get the load distribution that you want.

/neale

From: <vpp-dev@lists.fd.io> on behalf of "vnaposto...@gmail.com" 
<vnaposto...@gmail.com>
Date: Wednesday 9 December 2020 at 16:43
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] VPP ip route add multiple paths


Hello to everyone,



I am having an issue when trying to apply multiple paths on a running VPP to 3 
other VPPs.

Specifically after 2 paths are up when I add the 3rd path one or both the first 
two stop working. I am using these commands:



sudo vppctl -s /run/vpp/cli-vpprouter1.sock ip route add 48.0.0.0/8 via 
10.10.3.2

sudo vppctl -s /run/vpp/cli-vpprouter1.sock ip route add 48.0.0.0/8 via 
10.10.6.2

sudo vppctl -s /run/vpp/cli-vpprouter1.sock ip route add 48.0.0.0/8 via 
10.10.12.2





On the same subject I have an issue when trying to set different weights on a 2 
route path. As suggested on this

doc https://docs.fd.io/vpp/21.01/de/db4/clicmd_src_vnet_ip.html#clicmd_ip_route 
I use:



sudo vppctl -s /run/vpp/cli-vpprouter1.sock ip route add 48.0.0.0/8 via 
10.10.3.2 weight 9

sudo vppctl -s /run/vpp/cli-vpprouter1.sock ip route add 48.0.0.0/8 via 
10.10.6.2 weight 1



but the traffic on weight 1 route is not the 1/10 of the total traffic, more 
like 4/10 of it. And that's the good scenario. When traffic

gets elevated VPP sends most of the traffic on the path with the lower value 
rather than what I expected it to do.



All vpps are connected through memif sockets.



Can anyone help me with any of these issues? Is it me I am doing something 
extremely wrong?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18305): https://lists.fd.io/g/vpp-dev/message/18305
Mute This Topic: https://lists.fd.io/mt/78831750/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to