I want to send UDP packets with port 4500 to Kernel.

For that I send UDP packets from external interface (70.1.1.58:port 5000)
to VPP host (70.1.1.51: 4500) and did below configuration.

Set up the punt environment-
   * set punt udp 4500*
Created the tap interface -
    * tap connect tap-0*

*In the below capture VPP trace, the packet are not going beyond the
node (**ip4-udp-punt)
**to kernel.*


*00:06:52:855590: dpdk-input*
*  GigabitEthernet1/0/2 rx queue 0*
*  buffer 0x174fcf: current data 14, length 1028, free-list 0, totlen-nifb
0, trace 0x9*
*  PKT MBUF: port 0, nb_segs 1, pkt_len 1042*
*    buf_len 2176, data_len 1042, ol_flags 0x0, data_off 128, phys_addr
0xd753b2c0*
*    packet_type 0x211*
*    Packet Types*
*      RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet*
*      RTE_PTYPE_L3_IPV4 (0x0010) IPv4 packet without extension headers*
*      RTE_PTYPE_L4_UDP (0x0200) UDP packet*
*  IP4: ec:f4:bb:d5:68:a6 -> ec:f4:bb:c4:4d:46*
*  UDP: 70.1.1.58 -> 70.1.1.51*
*    tos 0x00, ttl 64, length 1028, checksum 0xcf79*
*    fragment id 0x1901*
*  UDP: 5000 -> 4500*
*    length 1008, checksum 0x8d26*
*00:06:52:855591: ip4-input-no-checksum*
*  UDP: 70.1.1.58 -> 70.1.1.51*
*    tos 0x00, ttl 64, length 1028, checksum 0xcf79*
*    fragment id 0x1901*
*  UDP: 5000 -> 4500*
*    length 1008, checksum 0x8d26*
*00:06:52:855592: ip4-lookup*
*  fib 0 dpo-idx 5 flow hash: 0x00000000*
*  UDP: 70.1.1.58 -> 70.1.1.51*
*    tos 0x00, ttl 64, length 1028, checksum 0xcf79*
*    fragment id 0x1901*
*  UDP: 5000 -> 4500*
*    length 1008, checksum 0x8d26*
*00:06:52:855592: ip4-local*
*    UDP: 70.1.1.58 -> 70.1.1.51*
*      tos 0x00, ttl 64, length 1028, checksum 0xcf79*
*      fragment id 0x1901*
*    UDP: 5000 -> 4500*
*      length 1008, checksum 0x8d26*
*00:06:52:855592: ip4-udp-lookup*
*  UDP: src-port 5000 dst-port 4500*
*00:06:52:855593: error-punt*
*  ip4-udp-punt: udp port punt*
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to