Re: [vpp-dev] VPP synchronize the ip address from physical interface to tun interface (vnet), but did not synchronize the route.

2021-01-04 Thread Jinlei Li
Hi Ben, Thanks for your reply. I agree with you, I will configure both host and vpp use my agent. But I am still alittle confused. As if you check the function "tuntap_ip4_add_del_interface_address()" in tuntap.c. This function will be called by ip4_add_del_interface_address_internal() in

[vpp-dev] VPP synchronize the ip address from physical interface to tun interface (vnet), but did not synchronize the route.

2021-01-03 Thread Jinlei Li
Hi guys, I modified the startup.conf and enabled the tuntap interface. After vpp (vpp20.01) startup, it will create a tun interface named “vnet” in host linux. If I add an ip address to the physical interface, the same ip address will be added to vnet. But if I add an route entry, it will

Re: [vpp-dev] The gratuitous ARP issue

2020-09-25 Thread Jinlei Li
t;Neale Ranns via lists.fd.io" wrote: Hi Jinlei, Could you please send me a pcap capture of the grat-arp that VPP receives. Then I can duplicate the case in the UT. Thanks, neale From: on behalf of Jinlei Li Date: Saturday 19 September 2020 at 11:56 To: "vpp-dev@lists.

Re: [vpp-dev] The gratuitous ARP issue

2020-09-23 Thread Jinlei Li
, both the same occurs on vpp. Regards Jinlei. At 2020-09-21 22:39:46, "Neale Ranns via lists.fd.io" wrote: Hi Jinlei, Could you please send me a pcap capture of the grat-arp that VPP receives. Then I can duplicate the case in the UT. Thanks, neale From: on behalf of Jin

[vpp-dev] Qeustion about qos mark

2020-09-22 Thread Jinlei Li
Hi guys, I am testing the Qos mark feature recently, my useage is like this: When I use vpp to send a udp packet by a vlan sub-interface, I want to mark dscp and vlan pri at the same time. So I create a qos egress map like this and qos mark the output interface. qos egress map id 0 [ip][0]=30

[vpp-dev] The gratuitous ARP issue

2020-09-19 Thread Jinlei Li
Hi guys, During my test environment, I have two physical interfaces in the same broadcast domain, and they are configured with IPs of different subnet. I tried to ping 10.161.26.23 first, and I can see its’s mac address by “show ip neighbor” But if 10.161.26.23 send a gratuitous ARP

Re: [vpp-dev] How to forward specific traffic to Linux kernel when using IPV6 address on VPP physical port?

2020-08-31 Thread Jinlei Li
By the way, The application on Linux also can start a tcp connection or send packet out first through veth and VPP, hope this scenario can also be satisfied. At 2020-09-01 10:06:35, "Jinlei Li" wrote: Dear VPP experts, If we configure an IPV6 address on the physical port mana

[vpp-dev] How to forward specific traffic to Linux kernel when using IPV6 address on VPP physical port?

2020-08-31 Thread Jinlei Li
Dear VPP experts, If we configure an IPV6 address on the physical port managed by VPP, some traffic to this IPV6 address should be handled by VPP, but some specified traffic (use port + protocol type to identify, like ssh) need to be forwarded to Linux kernel, I can use veth or tun/tap to

[vpp-dev] #lb vpp lb does not works with my configuration

2020-03-22 Thread Jinlei Li
Hi, I am trying to test vpp load balance for my scenario. I create two pairs of veth on host linux, and connect vpp and two Nginx containers by them. A physical NIC is used by VPP as eth0 , and I create a loopback interface (loop0), finally I add the two host-interfaces and the loopback