Hi All,

We are trying to ping the ipv4 neighbor via MPLS path. We are seeing
packets drop when we send ping packets with size more than 1468 bytes.
Also note that the same ping works via plain IPv4 path with fragmentation.

Please find the test log as below:
VPP version used*: 20.09*

DBGvpp#

*ping 192.168.1.4 size 1500 table-id 1Aborted due to a keypress.Statistics:
5 sent, 0 received, 100% packet loss*

DBGvpp# show ip fib 192.168.1.4
ipv4-VRF:0
 Router Address: 192.168.1.1, fib_index:0, flow hash:[src dst sport dport
proto ] epoch:0 flags:none locks:[adjacency:1, default-route:1, nat-hi:2, ]
192.168.1.4/32 fib:0 index:67 locks:2
  API refs:1 src-flags:added,contributing,active,
    path-list:[66] locks:22 flags:shared, uPRF-list:66 len:1 itfs:[8, ]
      path:[90] pl-index:66 ip4 weight=1 pref=0 attached-nexthop:
 oper-flags:resolved,
        12.0.1.2 host-L1-3-S1
      [@0]: ipv4 via 12.0.1.2 host-L1-3-S1: mtu:1500 next:4
7a1a6cc000017a009cc000000800

 forwarding:   unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:70 buckets:1 uRPF:66
to:[4:13081]]
    [0] [@5]: ipv4 via 12.0.1.2 host-L1-3-S1: mtu:1500 next:4
7a1a6cc000017a009cc000000800
ipv4-VRF:-2
 Router Address: 0.0.0.0, fib_index:1, flow hash:[src dst sport dport proto
] epoch:0 flags:none locks:[API:1, ]
0.0.0.0/0 fib:1 index:7 locks:2
  default-route refs:1 entry-flags:drop,
src-flags:added,contributing,active,
    path-list:[13] locks:2 flags:drop, uPRF-list:7 len:0 itfs:[]
      path:[13] pl-index:13 ip4 weight=1 pref=0 special:  cfg-flags:drop,
        [@0]: dpo-drop ip4

 forwarding:   unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:9 buckets:1 uRPF:7 to:[0:0]]
    [0] [@0]: dpo-drop ip4













*ipv4-VRF:1 Router Address: 0.0.0.0, fib_index:2, flow hash:[src dst sport
dport proto ] epoch:0 flags:none locks:[API:1, ]192.168.1.4/32
<http://192.168.1.4/32> fib:2 index:64 locks:2  API refs:1
src-flags:added,contributing,active,    path-list:[66] locks:22
flags:shared, uPRF-list:66 len:1 itfs:[8, ]      path:[90] pl-index:66 ip4
weight=1 pref=0 attached-nexthop:  oper-flags:resolved,        12.0.1.2
host-L1-3-S1      [@0]: ipv4 via 12.0.1.2 host-L1-3-S1: mtu:1500 next:4
7a1a6cc000017a009cc000000800    Extensions:     path:90
mpls-flags:[no-ip-tll-decr] labels:[[2004 uniform ttl:0 exp:0]] forwarding:
  unicast-ip4-chain  [@0]: dpo-load-balance: [proto:ip4 index:67 buckets:1
uRPF:66 to:[22:33016]]    [0] [@12]:
mpls-label[no-ip-tll-decr,uniform-mode,@1]:[2004:64:0:eos]        [@1]:
mpls via 12.0.1.2 host-L1-3-S1: mtu:1500 next:2
7a1a6cc000017a009cc000008847*
DBGvpp#

DBGvpp# show errors
   Count                    Node                  Reason
         5               mpls-input               MPLS DROP DPO
        15               mpls-output              MPLS output packets
encapsulated
        15               mpls-output              MPLS output packets needs
fragmentation
         3             ip6-icmp-input             router advertisements sent
         1       rtb-host-trap-ipv6-rx-node       pkts acl dropped
         3       rtb-host-trap-ipv4-rx-node       pkts accepted
         1                arp-reply               ARP request IP4 source
address learned
         4             ip6-icmp-input             valid packets
         1             ip6-icmp-input             neighbor advertisements
received
         4             ip6-icmp-input             router advertisements
received
         7                null-node               blackholed packets
         7              rtb-shm-input             ctrl packets
DBGvpp#

DBGvpp# show interface
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count
host-L1-11-S1                     11     up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                     105
                                                                    tx
packets                     2
                                                                    tx
bytes                     210
                                                                    drops
                       1
host-L1-12-SN                     12     up          9000/0/0/0     tx
packets                     2
                                                                    tx
bytes                     210






*host-L1-3-S1                      8      up       0/1500/1500/1500  rx
packets                     9
                      rx bytes                     716
                                              tx packets
 16                                                                    tx
bytes                    1212
                      drops                         11
                                              ip4
 3                                                                    ip6
                         5*
host-L1-5-S2                      9      up       0/1500/1500/1500  rx
packets                    10
                                                                    rx
bytes                     777
                                                                    tx
packets                    12
                                                                    tx
bytes                     949
                                                                    drops
                       6
                                                                    punt
                        1
                                                                    ip4
                       3
                                                                    ip6
                       5
host-L1-7-SN                      10     up          9000/0/0/0     tx
packets                     2
                                                                    tx
bytes                     210
local0                            0     down          0/0/0/0
loop0                             13     up       0/1500/1500/1500
loop1                             14     up       0/1500/1500/1500
shm-0/0/11                        6      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
                                                                    drops
                       1
shm-0/0/16                        5      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
                                                                    drops
                       1
shm-0/0/1                         1      up          9000/0/0/0     rx
packets                     7
                                                                    rx
bytes                     493
                                                                    tx
packets                     6
                                                                    tx
bytes                     297
                                                                    drops
                       1
shm-0/0/4                         4      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
                                                                    drops
                       1

shm-0/0/5                         2      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
                                                                    drops
                       1

shm-0/0/6                         3      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
                                                                    drops
                       1

shm-0/0/7                         7      up          9000/0/0/0     rx
packets                     1
                                                                    rx
bytes                      16
DBGvpp#







*show interface host-L1-3-S1              Name               Idx    State
 MTU (L3/IP4/IP6/MPLS)     Counter          Count     host-L1-3-S1
             8      up       0/1500/1500/1500  rx packets
 10                                                                    rx
bytes                     789
                      tx packets                    18
                                              tx bytes
 1352
drops                         11
                        ip4                            4
                                                ip6
   5*
DBGvpp#


When we tried with the size below 1468, ping was successful.

DBGvpp# *ping 192.168.1.4 size 1400 table-id 1*
1408 bytes from 192.168.1.4: icmp_seq=1 ttl=63 time=2.8812 ms
1408 bytes from 192.168.1.4: icmp_seq=2 ttl=63 time=4.3937 ms
1408 bytes from 192.168.1.4: icmp_seq=3 ttl=63 time=7.0159 ms
1408 bytes from 192.168.1.4: icmp_seq=4 ttl=63 time=3.0405 ms
Aborted due to a keypress.
*Statistics: 4 sent, 4 received, 0% packet loss*


Thanks,
Bhishma

-- 
NOTICE TO
RECIPIENT This e-mail message and any attachments are 
confidential and may be
privileged. If you received this e-mail in error, 
any review, use,
dissemination, distribution, or copying of this e-mail is 
strictly
prohibited. Please notify us immediately of the error by return 
e-mail and
please delete this message from your system. For more 
information about Rtbrick, please visit us at www.rtbrick.com 
<http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20592): https://lists.fd.io/g/vpp-dev/message/20592
Mute This Topic: https://lists.fd.io/mt/87563088/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to