[vpp-dev] Use classify to direct specific udp packets to use different path

2021-12-06 Thread Wei Huang
I added two routes like this vppctl ip route add 192.168.21.0/24 via ipip0 vppctl ip route add 192.168.21.0/24 via ipip1 Can VPP use classify to direct UDP packets to port 2156 using ipip0, UDP packet to port 2157 using ipip1? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [vpp-dev] Use classify to direct specific udp packets to use different path

2021-12-06 Thread Wei Huang
error `l4 dst_port 2156 via ipip0' Could you please point out what CLI commands I should use to set that up? Thanks, Wei From: vpp-dev@lists.fd.io on behalf of Benoit Ganne (bganne) via lists.fd.io Sent: Monday, December 6, 2021 12:05 PM To: Wei Huang ; vpp-dev

Re: [vpp-dev] VPP Linux-cp plugin with multicast packets

2021-11-17 Thread Wei Huang
Thanks for reply. I'm new to VPP, can you give more details on how I add multicast routes to VPP? Change in code to register for multicast packets or using CLI to configure it? Wei From: Neale Ranns Sent: Wednesday, November 17, 2021 6:08 AM To: Wei Huang ; vpp

Re: [External] : Re: [vpp-dev] VPP linux-cp plugin with multicast packets

2021-11-17 Thread Wei Huang
Thanks a lot. This helps. Wei From: Petr Boltík Sent: Wednesday, November 17, 2021 2:14 AM To: Wei Huang Cc: vpp-dev@lists.fd.io Subject: [External] : Re: [vpp-dev] VPP linux-cp plugin with multicast packets Hi, there is no multicast route to the local

Re: [vpp-dev] VPP linux-cp plugin with multicast packets

2021-11-19 Thread Wei Huang
h0: mtu:9000 next:7 flags:[] fa163fdd32d9fa163f30992d0800 Thanks in advance for any help, Wei ________ From: Wei Huang Sent: Tuesday, November 16, 2021 10:08 PM To: vpp-dev@lists.fd.io Subject: VPP linux-cp plugin with multicast packets I am using the linux-cp plugin in

[vpp-dev] VPP linux-cp plugin with multicast packets

2021-11-16 Thread Wei Huang
I am using the linux-cp plugin in VPP (v21.06) and run into issues with multicast packet from OSPF. I try to make FRR work with VPP. I created a lcp pair (ETH2-VPP2), ETH2 directly connect to router using OSPF. FRR--VPP (192.168.100.5)--Router (192.168.100.20) VPP2 ETH2

Re: [vpp-dev] Use classify to direct specific udp packets to use different path

2021-12-07 Thread Wei Huang
_port)) ; else if (unformat (input, "dst_port %d", _port)) ; else return 0; } Wei From: vpp-dev@lists.fd.io on behalf of Benoit Ganne (bganne) via lists.fd.io Sent: Tuesday, December 7, 2021 8:55 AM To: Wei Huang ; vpp-dev@lists.fd.io

[vpp-dev] Use ABF to route UDP traffic to different paths

2021-12-07 Thread Wei Huang
On my VPP setup, I have two IPSec tunnels can reach 192.168.200.0/24, the interfaces for those two IPSec tunnels are ipip0 and ipip1. I try to set up abf to direct UDP packets to 192.168.200.20 based on destination port. If dport is 5001, use ipip0, if dport is 5002, use ipip1. All those packets

[vpp-dev] Recursive routing issue

2021-11-30 Thread Wei Huang
I have an issue with recursive routing and like to get some advice on how to fix this. On my vpp node, I have two interfaces ipip0, ipip1, both can reach 192.168.21.0/24 I added two routes like this vppctl ip route add 192.168.21.0/24 via ipip0 vppctl ip route add 192.168.21.0/24 via ipip1

Re: [vpp-dev] Use classify to direct specific udp packets to use different path

2021-12-07 Thread Wei Huang
# show version vpp v21.06.0-1~10-gd9d52f1 built by root on OS-70-BUILD at 2021-12-06T19:10:22 Wei From: vpp-dev@lists.fd.io on behalf of Benoit Ganne (bganne) via lists.fd.io Sent: Tuesday, December 7, 2021 5:00 AM To: Wei Huang ; vpp-dev@lists.fd.io Subject

Re: [External] : Re: [vpp-dev] Recursive routing issue

2021-11-30 Thread Wei Huang
The fix works for me. Thanks, Wei From: Stanislav Zaikin Sent: Tuesday, November 30, 2021 2:51 PM To: Wei Huang Cc: vpp-dev@lists.fd.io Subject: [External] : Re: [vpp-dev] Recursive routing issue Hi Wei, Interesting finding! Only the first resolved path

Re: [External] : Re: [vpp-dev] Recursive routing issue

2021-11-30 Thread Wei Huang
Sure, I will try this and let you know. Thanks a lot. Wei From: Stanislav Zaikin Sent: Tuesday, November 30, 2021 2:51 PM To: Wei Huang Cc: vpp-dev@lists.fd.io Subject: [External] : Re: [vpp-dev] Recursive routing issue Hi Wei, Interesting finding! Only

[vpp-dev] Registered binary API reply handler not called

2022-03-07 Thread Wei Huang
I used the following program to test API functions. For sw_interface_dump, I got the reply with all the interfaces information, but for the create_loopback message, I don't get any reply, although the loopback is successfully created. I also tried ip_route_add_del, ip_route_add_del_v2, same

[vpp-dev] What API client needs to cleanup after VPP restarts

2022-03-12 Thread Wei Huang
I have a little program using binary API to configure VPP (v21.06). It's written in C. When VPP restarts, it needs to re-configure VPP. I noticed after VPP restarts, all API calls have no reply. So I tried to disconnect, then connect again. After first restart, everything works fine. But the

[vpp-dev] linux-cp created tap interface send out packets issue

2022-02-23 Thread Wei Huang
I am using VPP v21.06. Enabled linux-cp plugin. Created lcp as follows: vppctl lcp create tn-eth2 host-if vpp2 netns inline_mgt_net vppctl ip mroute add 224.0.0.0/24 via local Forward vppctl ip mroute add 224.0.0.0/24 via tn-eth2 Accept Then bring up vpp2 in Linux: ip netns exec

Re: : Re: [vpp-dev] linux-cp created tap interface send out packets issue

2022-02-24 Thread Wei Huang
: L3 192.168.10.6/24 tn-eth2 (up): L3 192.168.100.5/24 Wei From: vpp-dev@lists.fd.io on behalf of Pim van Pelt Sent: Thursday, February 24, 2022 5:17 AM To: Wei Huang Cc: vpp-dev@lists.fd.io Subject: [External] : Re: [vpp-dev] linux-cp created tap interface se