[vpp-dev] Bug?

2017-12-04 Thread Yuliang Li
Hi, I am using vpp v18.01-rc0~160-ge13c799 (show version in vppctl). I feel I find a bug. I have two physical interfaces TenGigabitEthernet5/0/0 (int1) and TenGigabitEthernet5/0/1 (int2). Normally, if I send traffic (from another server) to int1, I expect int2 should NOT receive the traffic.

[vpp-dev] memory issues

2017-12-04 Thread ??????
Hi guys, I am using vpp v18.01-rc0~241-g4c9f2a8. I configured 200K static routing. When I 'show memory' in VPP, '150+k used'. But in my machine ,used almost 15g. After del the static routing ,almost using 16g memory. More info is shown below: VPP# show memory Thread 0 vpp_main heap

[vpp-dev] why i can not build the new plugin?

2017-12-04 Thread lin huang
Hi all, Recently, I want to build a new plugin for my work. I follow the guild here: https://docs.fd.io/vpp/17.07/sample_plugin_doc.html How to create a new plugin To create a new plugin based on the sample plugin, copy and rename the sample plugin directory and automake config. cp

Re: [vpp-dev] FW: how to redirect specific UDP port data to a new node?

2017-12-04 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Are you implementing a new graph node, which consumes UDP traffic? If so, then the BFD example is a way to redirect interesting traffic to your new node... > -Original Message- > From: lin huang [mailto:mit...@outlook.com] > Sent: Monday, December 4, 2017 9:16 AM > To: Klement Sekera -X

Re: [vpp-dev] FW: how to redirect specific UDP port data to a new node?

2017-12-04 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Hi Lin Huang, You can take a look at bfd_udp_init() in bfd_udp.c to see how the BFD feature registers to listen on BFD ports using udp_register_dst_port(). Thanks, Klement > -Original Message- > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of lin

Re: [vpp-dev] FW: how to redirect specific UDP port data to a new node?

2017-12-04 Thread lin huang
Hi Klement, I want to redirect data to a new udp port. Do I need to modify VPP code? Adding a new UDP_DST_PORT_ enum types?? Thanks a lot!!! >>-Original Message- >>From: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco) >>[mailto:ksek...@cisco.com] >>Sent: Monday,

[vpp-dev] FW: how to redirect specific UDP port data to a new node?

2017-12-04 Thread lin huang
From: lin huang Sent: Monday, December 04, 2017 2:53 PM To: vpp-dev-boun...@lists.fd.io Subject: how to redirect specific UDP port data to a new node? Hi, all. I want to know how to redirect specific UDP port data to a new node? Dose udp_register_dst_port make effecet? Or using the arc

Re: [vpp-dev] VPP high level working flowchart

2017-12-04 Thread Kinsella, Ray
Hi Holoo, Can I recommend that you play at bit with VPP's packet tracing facility. The following wiki page explains setting up the tracer a bit. https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP#Show_trace You will see from tracing a that FD.io VPP exists independently of the

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-04 Thread Prabhjot Singh Sethi
Thanks Neale for your time. as a followup i will try following. - setting MAC address on Physical interface - following up with expected configuration on firewall to rule out strict requirements on source MAC. Regards, Prabhjot - Original Message - From: "Neale Ranns (nranns)"

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-04 Thread Neale Ranns (nranns)
Hi Prabhjot, If there is only one link between VPP A and B, regardless of the number of .1q sub-interfaces, the forward and reverse direction packets *should* have the same MAC addresses. You mention ECMP. Is the reverse direction traffic arriving on the same interface from which it was

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-04 Thread Prabhjot Singh Sethi
Hi Neale, we have the traffic working however the packets looks like  source 1.1.1.3 (02:00:00:00:00:01) dest 2.2.2.3 (02:00:00:00:00:02) however for reverse traffic source 2.2.2.3 (02:fe:c9:7a:70:00) dest 1.1.1.3 (02:00:00:00:00:01) use of BVI for this purpose is ruled out as this use case

Re: [vpp-dev] FW: how to redirect specific UDP port data to a new node?

2017-12-04 Thread Kinsella, Ray
Another good example is vxlan. Not sure what will happen if multiple graph nodes are fighting for the same port though. Ray K https://git.fd.io/vpp/tree/src/vnet/vxlan/vxlan.c |clib_error_t *vxlan_init (vlib_main_t *vm) { vxlan_main_t * vxm = _main; vxm->vnet_main = vnet_get_main();