Hi everybody,

I setup a GTPU tunnel in my VPP, receiving gtpu encapsulated packets. The setup 
is summarized as:

                            --------------                             
------------
Msg--------->| GTP encap |========>|       VPP   |
                            --------------                             
------------
                                   192.168.4.97               192.168.4.14

Having a look at the trace in VPP, it seems that the received packet is 
correctly decap, but then for some reason it is dropped at the end, stating the 
following message: 'L2 feature forwarding disabled'.

Have any idea of the reason? Attached you can find the complete trace.

Thanks!
Umberto
------------------- Start of thread 0 vpp_main -------------------
Packet 1

23:53:57:100513: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 134 snaplen 134 mac 66 net 80
      sec 0x5cb072b2 nsec 0x367cd0b7 vlan 0 vlan_tpid 0
23:53:57:100542: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:53:57:100558: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:53:57:100572: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:53:57:100583: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:53:57:100591: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed3
    fragment id 0x02e2
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:57:100609: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed3
    fragment id 0x02e2
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:57:100622: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 120, checksum 0x2ed3
      fragment id 0x02e2
    UDP: 10028 -> 2152
      length 100, checksum 0x0000
23:53:57:100632: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:53:57:100639: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:53:57:100653: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:54:ac:5c src 40:00:40:01:04:8a
23:53:57:100655: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:53:57:100666: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

Packet 2

23:53:57:126258: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000001 len 60 snaplen 60 mac 66 net 80
      sec 0x5cb072b2 nsec 0x38058936 vlan 0 vlan_tpid 0
23:53:57:126273: ethernet-input
  ARP: 00:50:56:00:00:05 -> ff:ff:ff:ff:ff:ff
23:53:57:126283: l2-input
  l2-input: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05
23:53:57:126289: l2-learn
  l2-learn: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:57:126295: l2-flood
  l2-flood: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:57:126306: arp-input
  request, type ethernet/IP4, address size 6/4
  00:50:56:00:00:05/192.168.4.120 -> 00:00:00:00:00:00/192.168.4.140
23:53:57:126331: error-drop
  arp-input: ARP replies sent

Packet 3

23:53:57:848531: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 118 snaplen 118 mac 66 net 80
      sec 0x5cb072b3 nsec 0x2777dd76 vlan 0 vlan_tpid 0
23:53:57:848557: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:53:57:848574: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:53:57:848590: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:53:57:848606: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:53:57:848617: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 104, checksum 0x2ee2
    fragment id 0x02e3
  UDP: 10028 -> 2152
    length 84, checksum 0x0000
23:53:57:848634: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 104, checksum 0x2ee2
    fragment id 0x02e3
  UDP: 10028 -> 2152
    length 84, checksum 0x0000
23:53:57:848647: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 104, checksum 0x2ee2
      fragment id 0x02e3
    UDP: 10028 -> 2152
      length 84, checksum 0x0000
23:53:57:848656: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:53:57:848664: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:53:57:848676: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:44:b2:7d src 40:00:40:11:02:4f
23:53:57:848680: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:53:57:848689: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

Packet 4

23:53:58:086601: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 134 snaplen 134 mac 66 net 80
      sec 0x5cb072b3 nsec 0x35a88429 vlan 0 vlan_tpid 0
23:53:58:086628: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:53:58:086647: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:53:58:086664: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:53:58:086674: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:53:58:086684: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed1
    fragment id 0x02e4
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:58:086701: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed1
    fragment id 0x02e4
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:58:086714: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 120, checksum 0x2ed1
      fragment id 0x02e4
    UDP: 10028 -> 2152
      length 100, checksum 0x0000
23:53:58:086725: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:53:58:086731: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:53:58:086743: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:54:ac:6b src 40:00:40:01:04:7b
23:53:58:086745: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:53:58:086752: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

Packet 5

23:53:58:126298: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000001 len 60 snaplen 60 mac 66 net 80
      sec 0x5cb072b3 nsec 0x3805b1b2 vlan 0 vlan_tpid 0
23:53:58:126318: ethernet-input
  ARP: 00:50:56:00:00:05 -> ff:ff:ff:ff:ff:ff
23:53:58:126334: l2-input
  l2-input: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05
23:53:58:126348: l2-learn
  l2-learn: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:58:126359: l2-flood
  l2-flood: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:58:126371: arp-input
  request, type ethernet/IP4, address size 6/4
  00:50:56:00:00:05/192.168.4.120 -> 00:00:00:00:00:00/192.168.4.140
23:53:58:126403: error-drop
  arp-input: ARP replies sent

Packet 6

23:53:59:120500: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 134 snaplen 134 mac 66 net 80
      sec 0x5cb072b4 nsec 0x37adf838 vlan 0 vlan_tpid 0
23:53:59:120526: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:53:59:120543: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:53:59:120559: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:53:59:120567: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:53:59:120577: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed0
    fragment id 0x02e5
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:59:120594: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ed0
    fragment id 0x02e5
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:53:59:120607: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 120, checksum 0x2ed0
      fragment id 0x02e5
    UDP: 10028 -> 2152
      length 100, checksum 0x0000
23:53:59:120617: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:53:59:120624: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:53:59:120638: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:54:ac:c2 src 40:00:40:01:04:24
23:53:59:120641: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:53:59:120652: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

Packet 7

23:53:59:128960: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000001 len 60 snaplen 60 mac 66 net 80
      sec 0x5cb072b4 nsec 0x382f4d59 vlan 0 vlan_tpid 0
23:53:59:128970: ethernet-input
  ARP: 00:50:56:00:00:05 -> ff:ff:ff:ff:ff:ff
23:53:59:128979: l2-input
  l2-input: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05
23:53:59:128985: l2-learn
  l2-learn: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:59:128989: l2-flood
  l2-flood: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:53:59:128999: arp-input
  request, type ethernet/IP4, address size 6/4
  00:50:56:00:00:05/192.168.4.120 -> 00:00:00:00:00:00/192.168.4.140
23:53:59:129024: error-drop
  arp-input: ARP replies sent

Packet 8

23:53:59:467496: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 118 snaplen 118 mac 66 net 80
      sec 0x5cb072b5 nsec 0x10c1e567 vlan 0 vlan_tpid 0
23:53:59:467526: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:53:59:467538: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:53:59:467553: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:53:59:467561: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:53:59:467574: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 104, checksum 0x2edf
    fragment id 0x02e6
  UDP: 10028 -> 2152
    length 84, checksum 0x0000
23:53:59:467586: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 104, checksum 0x2edf
    fragment id 0x02e6
  UDP: 10028 -> 2152
    length 84, checksum 0x0000
23:53:59:467599: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 104, checksum 0x2edf
      fragment id 0x02e6
    UDP: 10028 -> 2152
      length 84, checksum 0x0000
23:53:59:467607: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:53:59:467615: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:53:59:467629: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:44:b3:0d src 40:00:40:11:01:bf
23:53:59:467635: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:53:59:467641: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

Packet 9

23:54:00:126311: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000001 len 60 snaplen 60 mac 66 net 80
      sec 0x5cb072b5 nsec 0x3806476f vlan 0 vlan_tpid 0
23:54:00:126335: ethernet-input
  ARP: 00:50:56:00:00:05 -> ff:ff:ff:ff:ff:ff
23:54:00:126354: l2-input
  l2-input: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05
23:54:00:126373: l2-learn
  l2-learn: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:54:00:126382: l2-flood
  l2-flood: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 00:50:56:00:00:05 bd_index 1
23:54:00:126398: arp-input
  request, type ethernet/IP4, address size 6/4
  00:50:56:00:00:05/192.168.4.120 -> 00:00:00:00:00:00/192.168.4.140
23:54:00:126427: error-drop
  arp-input: ARP replies sent

Packet 10

23:54:00:138472: af-packet-input
  af_packet: hw_if_index 1 next-index 4
    tpacket2_hdr:
      status 0x20000081 len 134 snaplen 134 mac 66 net 80
      sec 0x5cb072b5 nsec 0x38c0c8cc vlan 0 vlan_tpid 0
23:54:00:138483: ethernet-input
  IP4: 00:25:5c:4a:cb:c0 -> de:ad:00:00:00:01
23:54:00:138489: l2-input
  l2-input: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0
23:54:00:138495: l2-learn
  l2-learn: sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 1
23:54:00:138500: l2-fwd
  l2-fwd:   sw_if_index 1 dst de:ad:00:00:00:01 src 00:25:5c:4a:cb:c0 bd_index 
1 result [0x700000004, 4] static age-not bvi 
23:54:00:138514: ip4-input
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ece
    fragment id 0x02e7
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:54:00:138523: ip4-lookup
  fib 0 dpo-idx 5 flow hash: 0x00000000
  UDP: 192.168.4.97 -> 192.168.4.14
    tos 0x00, ttl 255, length 120, checksum 0x2ece
    fragment id 0x02e7
  UDP: 10028 -> 2152
    length 100, checksum 0x0000
23:54:00:138535: ip4-local
    UDP: 192.168.4.97 -> 192.168.4.14
      tos 0x00, ttl 255, length 120, checksum 0x2ece
      fragment id 0x02e7
    UDP: 10028 -> 2152
      length 100, checksum 0x0000
23:54:00:138545: ip4-udp-lookup
  UDP: src-port 10028 dst-port 2152
23:54:00:138551: gtpu4-input
  GTPU decap from gtpu_tunnel1 teid 23 next 1 error 0
23:54:00:138563: l2-input
  l2-input: sw_if_index 7 dst 45:00:00:54:ad:1f src 40:00:40:01:03:c7
23:54:00:138568: feature-bitmap-drop
  feat_bitmap_drop: feature bitmap 0x00000001
23:54:00:138572: error-drop
  feature-bitmap-drop: L2 feature forwarding disabled

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12864): https://lists.fd.io/g/vpp-dev/message/12864
Mute This Topic: https://lists.fd.io/mt/31353279/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to