Hello all,

I am observing a VPP crash when approximately 20 - 50 PPPoE clients
are connecting and traffic is flowing through them. This crash was
reproducible every time I tried.

I did some debugging and here is what I could find out so far:

If I understand correctly, when a incoming packet from north side is
being sent to PPPoE interface, pppoe_fixup() is called to update
pppoe0->length, and t->encap_if_index. Length and encap_if_index is
taken from adj0->sub_type.midchain.fixup_data

My observation is that while clients are connecting and traffic is
flowing for connected clients, adj0->sub_type.midchain.fixup_data
appears to hold incorrect data, at some point in time, during the
test. What we have seen is the incorrect data
(adj0->sub_type.midchain.fixup_data) is observed for clients which are
already provisioned for some time and which had packets flowing
through them.

I figured this out by using gdb and inspecting
adj0->sub_type.midchain.fixup_data, after typecasting it into
pppoe_session_t

In the structure, I could see that session_id, client_ip and encap_idx
are incorrect. I did not check other values in the structure.

I also added code to log this fields in pppoe_fixup() and logs too
shows incorrect data in the fields.

Example logs taken just before crash:

vnet[12988]: pppoe_fixup:243: 40:7b:1b: 0:12:38 ->  2:42: a: 1: 0: 2 , type 8864
vnet[12988]: pppoe_fixup:271: pppoe session id 4883, client_ip
0x13131313 encap idx 0x13131313

First log prints out packet headers, to verify that data in packet is
as expected and is correct. Second log prints values in pppoe_session
data, and it can be seen that the values are obviously incorrect. At
this point the packet is sent out through the south interface. Again
after some time the TX index values become some thing similar to
1422457436 and VPP core dumps.

We have tested the following scenarios:

1. Add PPPoE clients without sending out any traffic: There is no
crash observed.
2. Add n number of PPPoE clients, load traffic [No adding or removal
or clients while traffic is on, see next scenario]: There is no crash
observed
3. Load traffic as soon as each client connects: VPP crash observed.

Another observation is that  encap_if_index is available in two places
inside pppoe_fixup:

1. adj->rewrite_header.sw_if_index
2. t->encap_if_index

t->encap_if_index is used for updating TX, and this gets corrupted,
while adj->rewrite_header.sw_if_index has the correct index.

I can check and get back if you need any additional information. Let
me know if a bug report is to be created for this.

Environment:

vpp# show version verbose
Version:          v19.08.1-59~ga2aa83ca9-dirty
Compiled by:          root
Compile host:          build-02
Compile date:          Thu Sep 26 16:44:00 IST 2019
Compile location:      /root/build-1908
Compiler:          GCC 7.4.0
Current PID:          7802

Operating system: Ubuntu 18.04 amd64

startup.conf and associated exec file is attached.

There is a small patch to stock VPP to disable
ETHERNET_ERROR_L3_MAC_MISMATCH, which is attached. I have also
attached output of show show hardware and gdb bt output. I have the
core file and its matching VPP debs, and can be shared if needed.

In the bt the incorrect value of index can be seen in bt #5:

#5  0x00007fba88e9ce0b in vlib_increment_combined_counter
(n_bytes=<optimized out>, n_packets=1, index=538976288,
thread_index=0, cm=0x7fba481f46a0) at
/root/build-1908/src/vlib/counter.h:229

Thanks and Regards,

Raj
vpp# show version verbose
Version:                  v19.08.1-59~ga2aa83ca9-dirty
Compiled by:              root
Compile host:             build-02
Compile date:             Thu Sep 26 16:44:00 IST 2019
Compile location:         /root/build-1908
Compiler:                 GCC 7.4.0
Current PID:              7802
vpp# show hardware
              Name                Idx   Link  Hardware
GigabitEthernet3/0/1               1     up   GigabitEthernet3/0/1
  Link speed: 1 Gbps
  Ethernet address 40:7b:1b:00:12:33
  Intel e1000
    carrier up full duplex mtu 9206
    flags: pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:1521 subsystem 15bb:0008 address 0000:03:00.01 numa 0
    max rx packet len: 16383
    promiscuous: unicast off all-multicast off
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum vlan-filter
                       jumbo-frame scatter keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso multi-segs
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: eth_igb_xmit_pkts
    rx burst function: eth_igb_recv_pkts

GigabitEthernet3/0/2               2     up   GigabitEthernet3/0/2
  Link speed: 100 Mbps
  Ethernet address 40:7b:1b:00:12:34
  Intel e1000
    carrier up full duplex mtu 9206
    flags: pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:1521 subsystem 15bb:0008 address 0000:03:00.02 numa 0
    max rx packet len: 16383
    promiscuous: unicast off all-multicast off
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum vlan-filter
                       jumbo-frame scatter keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso multi-segs
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: eth_igb_xmit_pkts
    rx burst function: eth_igb_recv_pkts

GigabitEthernet3/0/3               3    down  GigabitEthernet3/0/3
  Link speed: unknown
  Ethernet address 40:7b:1b:00:12:35
  Intel e1000
    carrier down
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:1521 subsystem 15bb:0008 address 0000:03:00.03 numa 0
    max rx packet len: 16383
    promiscuous: unicast off all-multicast on
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum vlan-filter
                       jumbo-frame scatter keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso multi-segs
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: eth_igb_xmit_pkts
    rx burst function: eth_igb_recv_scattered_pkts

GigabitEthernet8/0/0               4    down  GigabitEthernet8/0/0
  Link speed: unknown
  Ethernet address 40:7b:1b:00:12:36
  Intel e1000
    carrier down
    flags: pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 4), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 4), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:1533 subsystem ffff:0000 address 0000:08:00.00 numa 0
    max rx packet len: 16383
    promiscuous: unicast off all-multicast off
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum vlan-filter
                       jumbo-frame scatter keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso multi-segs
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: eth_igb_xmit_pkts
    rx burst function: eth_igb_recv_pkts

GigabitEthernet9/0/0               5     up   GigabitEthernet9/0/0
  Link speed: 1 Gbps
  Ethernet address 40:7b:1b:00:12:37
  Intel e1000
    carrier up full duplex mtu 9206
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 4), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 4), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:1533 subsystem ffff:0000 address 0000:09:00.00 numa 0
    max rx packet len: 16383
    promiscuous: unicast off all-multicast on
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum vlan-filter
                       jumbo-frame scatter keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso multi-segs
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: eth_igb_xmit_pkts
    rx burst function: eth_igb_recv_scattered_pkts

    rx frames ok                                          40
    rx bytes ok                                         3128
    extended stats:
      rx good packets                                     40
      rx good bytes                                     3128
      rx size 64 packets                                  31
      rx size 65 to 127 packets                            4
      rx size 128 to 255 packets                           5
      rx broadcast packets                                 9
      rx multicast packets                                31
      rx total packets                                    40
      rx total bytes                                    3128
TenGigabitEthernet82/0/0           6     up   TenGigabitEthernet82/0/0
  Link speed: 10 Gbps
  Ethernet address 40:7b:1b:00:12:38
  Intel 82599
    carrier up full duplex mtu 9206
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 128), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 64), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:10fb subsystem ffff:ffff address 0000:82:00.00 numa 1
    max rx packet len: 15872
    promiscuous: unicast off all-multicast on
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro
                       macsec-strip vlan-filter vlan-extend jumbo-frame scatter
                       security keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso macsec-insert multi-segs security
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: ixgbe_xmit_pkts
    rx burst function: ixgbe_recv_scattered_pkts_vec

    rx frames ok                                          22
    rx bytes ok                                         1320
    extended stats:
      rx good packets                                     22
      rx good bytes                                     1320
      rx q0packets                                        22
      rx q0bytes                                        1320
      rx size 64 packets                                  22
      rx multicast packets                                22
      rx total packets                                    22
      rx total bytes                                    1320
TenGigabitEthernet82/0/1           7     up   TenGigabitEthernet82/0/1
  Link speed: 10 Gbps
  Ethernet address 40:7b:1b:00:12:39
  Intel 82599
    carrier up full duplex mtu 9206
    flags: admin-up pmd maybe-multiseg subif tx-offload intel-phdr-cksum 
rx-ip4-cksum
    rx: queues 1 (max 128), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 64), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:10fb subsystem ffff:ffff address 0000:82:00.01 numa 1
    max rx packet len: 15872
    promiscuous: unicast off all-multicast on
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro
                       macsec-strip vlan-filter vlan-extend jumbo-frame scatter
                       security keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso macsec-insert multi-segs security
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: ixgbe_xmit_pkts
    rx burst function: ixgbe_recv_scattered_pkts_vec

    rx frames ok                                          21
    rx bytes ok                                         1260
    extended stats:
      rx good packets                                     21
      rx good bytes                                     1260
      rx q0packets                                        21
      rx q0bytes                                        1260
      rx size 64 packets                                  21
      rx multicast packets                                21
      rx total packets                                    21
      rx total bytes                                    1260
TenGigabitEthernet85/0/0           8     up   TenGigabitEthernet85/0/0
  Link speed: 10 Gbps
  Ethernet address 40:7b:1b:00:12:30
  Intel 82599
    carrier up full duplex mtu 9206
    flags: pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 128), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 64), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:10fb subsystem ffff:ffff address 0000:85:00.00 numa 1
    max rx packet len: 15872
    promiscuous: unicast off all-multicast off
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro
                       macsec-strip vlan-filter vlan-extend jumbo-frame scatter
                       security keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso macsec-insert multi-segs security
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: ixgbe_xmit_pkts
    rx burst function: ixgbe_recv_pkts

TenGigabitEthernet85/0/1           9     up   TenGigabitEthernet85/0/1
  Link speed: 10 Gbps
  Ethernet address 40:7b:1b:00:12:31
  Intel 82599
    carrier up full duplex mtu 9206
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
    rx: queues 1 (max 128), desc 1024 (min 32 max 4096 align 8)
    tx: queues 1 (max 64), desc 1024 (min 32 max 4096 align 8)
    pci: device 8086:10fb subsystem ffff:ffff address 0000:85:00.01 numa 1
    max rx packet len: 15872
    promiscuous: unicast off all-multicast on
    vlan offload: strip off filter off qinq off
    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro
                       macsec-strip vlan-filter vlan-extend jumbo-frame scatter
                       security keep-crc
    rx offload active: ipv4-cksum jumbo-frame scatter
    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum
                       tcp-tso macsec-insert multi-segs security
    tx offload active: udp-cksum tcp-cksum multi-segs
    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp
                       ipv6-udp ipv6-ex ipv6
    rss active:        none
    tx burst function: ixgbe_xmit_pkts
    rx burst function: ixgbe_recv_scattered_pkts_vec

local0                             0    down  local0
  Link speed: unknown
  local
tap0                              10     up   tap0
  Link speed: unknown
  Ethernet address 02:fe:8b:40:d6:19
  VIRTIO interface
     instance 0
vpp#
vpp#
vpp#
vpp# show hardware address
show hardware-interfaces: unknown input `address'
vpp#
vpp# show int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count
GigabitEthernet3/0/1              1     down         9000/0/0/0
GigabitEthernet3/0/2              2     down         9000/0/0/0
GigabitEthernet3/0/3              3      up          9000/0/0/0
GigabitEthernet8/0/0              4     down         9000/0/0/0
GigabitEthernet9/0/0              5      up          9000/0/0/0     rx packets  
                 404
                                                                    rx bytes    
              172369
                                                                    tx packets  
                 152
                                                                    tx bytes    
              152008
                                                                    drops       
                 259
                                                                    ip4         
                 149
                                                                    ip6         
                  48
                                                                    tx-error    
                   4
TenGigabitEthernet82/0/0          6      up          9000/0/0/0     rx packets  
                 141
                                                                    rx bytes    
                8460
                                                                    drops       
                 141
TenGigabitEthernet82/0/1          7      up          9000/0/0/0     rx packets  
                 140
                                                                    rx bytes    
                8400
                                                                    tx packets  
                   5
                                                                    tx bytes    
                 514
                                                                    drops       
                 140
TenGigabitEthernet82/0/1.30       10     up           0/0/0/0       tx packets  
                   5
                                                                    tx bytes    
                 514
TenGigabitEthernet82/0/1.60       11     up           0/0/0/0
TenGigabitEthernet85/0/0          8     down         9000/0/0/0
TenGigabitEthernet85/0/1          9      up          9000/0/0/0     rx packets  
                  11
                                                                    rx bytes    
                 800
                                                                    tx packets  
                   6
                                                                    tx bytes    
                 536
                                                                    drops       
                   1
                                                                    punt        
                  10
                                                                    ip4         
                  10
local0                            0     down          0/0/0/0       drops       
                   2
tap0                              12     up          9000/0/0/0     rx packets  
                   7
                                                                    rx bytes    
                 746
                                                                    drops       
                   7
                                                                    ip6         
                   7
vpp#
vpp#
vpp#
vpp# show run
Time 33.9, average vectors/node 1.00, last 128 main loops 0.00 per node 0.00
  vector rates in 1.8899e0, out 0.0000e0, drop 1.8899e0, punt 0.0000e0
             Name                 State         Calls          Vectors        
Suspends         Clocks       Vectors/Call
api-rx-from-ring                any wait                 0               0      
         2          1.23e4            0.00
arp-input                        active                  6               6      
         0          1.47e3            1.00
arp-reply                        active                  6               6      
         0          6.65e3            1.00
dpdk-input                       polling         146818950              64      
         0          8.39e8            0.00
dpdk-process                    any wait                 0               0      
        11          8.04e6            0.00
drop                             active                 64              64      
         0          9.30e2            1.00
error-drop                       active                 64              64      
         0          5.88e2            1.00
ethernet-input                   active                 64              64      
         0          1.18e3            1.00
fib-walk                        any wait                 0               0      
        17          2.14e3            0.00
icmp6-router-advertisement       active                  3               3      
         0          1.06e4            1.00
ikev2-manager-process           any wait                 0               0      
        34          1.34e3            0.00
ip4-reassembly-expire-walk      any wait                 0               0      
         4          3.43e3            0.00
ip6-drop                         active                  3               3      
         0          1.99e3            1.00
ip6-icmp-input                   active                  3               3      
         0          1.99e3            1.00
ip6-icmp-neighbor-discovery-ev  any wait                 0               0      
        34          1.36e3            0.00
ip6-input                        active                  6               6      
         0          1.66e3            1.00
ip6-local                        active                  6               6      
         0          2.29e3            1.00
ip6-local-hop-by-hop             active                  3               3      
         0          2.56e3            1.00
ip6-mfib-forward-lookup          active                  6               6      
         0          1.75e3            1.00
ip6-mfib-forward-rpf             active                  6               6      
         0          3.33e3            1.00
ip6-reassembly-expire-walk      any wait                 0               0      
         4          3.35e3            0.00
ip6-replicate                    active                  6               6      
         0          2.36e3            1.00
llc-input                        active                 51              51      
         0          5.41e2            1.00
lldp-input                       active                  1               1      
         0          5.10e3            1.00
statseg-collector-process       time wait                0               0      
         4          1.96e4            0.00
unix-cli-local:0                 active                  0               0      
       104          2.48e5            0.00
unix-epoll-input                 polling            143238               0      
         0          3.18e3            0.00
virtio-input                     polling         146818950               0      
         0          1.16e2            0.00
wildcard-ip4-arp-publisher-pro event wait                0               0      
         3          5.11e3            0.00
vpp#
vpp#
vpp# show error
   Count                    Node                  Reason
         7               dpdk-input               no error
         4          ip6-local-hop-by-hop          Unknown protocol ip6 local 
h-b-h packets dropped
         4             ip6-icmp-input             valid packets
         4             ip6-icmp-input             router advertisements received
         1               lldp-input               lldp packets received on 
disabled interfaces
        63                llc-input               unknown llc ssap/dsap
vpp#
vpp#
vpp# show l2fib
no l2fib entries
vpp# show ip fib
ipv4-VRF:0, fib_index:0, flow hash:[src dst sport dport proto ] 
locks:[src:plugin-hi:2, src:adjacency:2, src:recursive-resolution:1, 
src:default-route:1, ]
0.0.0.0/0
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:1 buckets:1 uRPF:67 to:[150:149728]]
    [0] [@5]: ipv4 via 103.79.223.9 GigabitEthernet9/0/0: mtu:9000 
407b1b001162407b1b0012370800
0.0.0.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:2 buckets:1 uRPF:1 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.64.0.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:45 buckets:1 uRPF:54 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.64.0.0/23
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:44 buckets:1 uRPF:53 to:[0:0]]
    [0] [@4]: ipv4-glean: TenGigabitEthernet82/0/1.60: mtu:9000 
ffffffffffff407b1b0012398100003c0806
100.64.0.1/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:47 buckets:1 uRPF:58 to:[0:0]]
    [0] [@2]: dpo-receive: 100.64.0.1 on TenGigabitEthernet82/0/1.60
100.64.1.255/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:46 buckets:1 uRPF:56 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.65.0.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:28 buckets:1 uRPF:31 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.65.0.0/16
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:27 buckets:1 uRPF:30 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.65.0.1/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:30 buckets:1 uRPF:35 to:[0:0]]
    [0] [@2]: dpo-receive: 100.65.0.1 on GigabitEthernet3/0/3
100.65.255.255/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:29 buckets:1 uRPF:33 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.96.0.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:32 buckets:1 uRPF:37 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.96.0.0/16
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:31 buckets:1 uRPF:36 to:[0:0]]
    [0] [@4]: ipv4-glean: TenGigabitEthernet82/0/0: mtu:9000 
ffffffffffff407b1b0012380806
100.96.0.1/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:34 buckets:1 uRPF:41 to:[0:0]]
    [0] [@2]: dpo-receive: 100.96.0.1 on TenGigabitEthernet82/0/0
100.96.255.255/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:33 buckets:1 uRPF:39 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.97.0.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:36 buckets:1 uRPF:43 to:[0:0]]
    [0] [@0]: dpo-drop ip4
100.97.0.0/16
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:35 buckets:1 uRPF:42 to:[0:0]]
    [0] [@4]: ipv4-glean: TenGigabitEthernet82/0/1.30: mtu:9000 
ffffffffffff407b1b0012398100001e0806
100.97.0.1/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:38 buckets:1 uRPF:47 to:[0:0]]
    [0] [@2]: dpo-receive: 100.97.0.1 on TenGigabitEthernet82/0/1.30
100.97.255.255/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:37 buckets:1 uRPF:45 to:[0:0]]
    [0] [@0]: dpo-drop ip4
103.79.223.8/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:10 buckets:1 uRPF:9 to:[0:0]]
    [0] [@0]: dpo-drop ip4
103.79.223.9/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:50 buckets:1 uRPF:14 to:[0:0]]
    [0] [@5]: ipv4 via 103.79.223.9 GigabitEthernet9/0/0: mtu:9000 
407b1b001162407b1b0012370800
103.79.223.8/29
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:9 buckets:1 uRPF:62 to:[0:0]]
    [0] [@4]: ipv4-glean: GigabitEthernet9/0/0: mtu:9000 
ffffffffffff407b1b0012370806
103.79.223.13/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:12 buckets:1 uRPF:13 to:[0:0]]
    [0] [@2]: dpo-receive: 103.79.223.13 on GigabitEthernet9/0/0
103.79.223.15/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:11 buckets:1 uRPF:11 to:[0:0]]
    [0] [@0]: dpo-drop ip4
172.29.1.0/28
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:49 buckets:1 uRPF:61 to:[0:0]]
    [0] [@12]: dpo-load-balance: [proto:ip4 index:48 buckets:1 uRPF:60 to:[0:0]]
          [0] [@5]: ipv4 via 172.30.1.1 TenGigabitEthernet85/0/1: mtu:9000 
525400590df6407b1b0012310800
172.30.1.0/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:19 buckets:1 uRPF:20 to:[0:0]]
    [0] [@0]: dpo-drop ip4
172.30.1.1/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:48 buckets:1 uRPF:60 to:[0:0]]
    [0] [@5]: ipv4 via 172.30.1.1 TenGigabitEthernet85/0/1: mtu:9000 
525400590df6407b1b0012310800
172.30.1.0/29
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:18 buckets:1 uRPF:19 to:[0:0]]
    [0] [@4]: ipv4-glean: TenGigabitEthernet85/0/1: mtu:9000 
ffffffffffff407b1b0012310806
172.30.1.2/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:21 buckets:1 uRPF:24 to:[10:600]]
    [0] [@2]: dpo-receive: 172.30.1.2 on TenGigabitEthernet85/0/1
172.30.1.7/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:20 buckets:1 uRPF:22 to:[0:0]]
    [0] [@0]: dpo-drop ip4
224.0.0.0/4
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:4 buckets:1 uRPF:3 to:[0:0]]
    [0] [@0]: dpo-drop ip4
240.0.0.0/4
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:3 buckets:1 uRPF:2 to:[0:0]]
    [0] [@0]: dpo-drop ip4
255.255.255.255/32
  unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:5 buckets:1 uRPF:4 to:[0:0]]
    [0] [@0]: dpo-drop ip4
vpp#
vpp#
vpp#
vpp# show ip arp
    Time           IP4       Flags      Ethernet              Interface
     27.0683  103.79.223.9     D    40:7b:1b:00:11:62 GigabitEthernet9/0/0
      4.9475   172.30.1.1      D    52:54:00:59:0d:f6 TenGigabitEthernet85/0/1
vpp#
vpp#
vpp# show ip6 fib
ipv6-VRF:0, fib_index:0, flow hash:[src dst sport dport proto ] 
locks:[src:plugin-hi:1, src:default-route:1, ]
::/0
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:6 buckets:1 uRPF:57 to:[0:0]]
    [0] [@3]: arp-ipv6: via 2001:470:1f15:10d::1 GigabitEthernet9/0/0
2001:470:1f15:10d::/64
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:13 buckets:1 uRPF:17 to:[0:0]]
    [0] [@4]: ipv6-glean: GigabitEthernet9/0/0: mtu:9000 
ffffffffffff407b1b00123786dd
2001:470:1f15:10d::9/128
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:14 buckets:1 uRPF:15 to:[0:0]]
    [0] [@2]: dpo-receive: 2001:470:1f15:10d::9 on GigabitEthernet9/0/0
2001:470:7878:30:1::/125
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:22 buckets:1 uRPF:25 to:[0:0]]
    [0] [@4]: ipv6-glean: TenGigabitEthernet85/0/1: mtu:9000 
ffffffffffff407b1b00123186dd
2001:470:7878:30:1::2/128
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:23 buckets:1 uRPF:26 to:[0:0]]
    [0] [@2]: dpo-receive: 2001:470:7878:30:1::2 on TenGigabitEthernet85/0/1
2001:470:7878:800::/64
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:39 buckets:1 uRPF:48 to:[0:0]]
    [0] [@4]: ipv6-glean: TenGigabitEthernet82/0/1.30: mtu:9000 
ffffffffffff407b1b0012398100001e86dd
2001:470:7878:800::1/128
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:40 buckets:1 uRPF:49 to:[0:0]]
    [0] [@2]: dpo-receive: 2001:470:7878:800::1 on TenGigabitEthernet82/0/1.30
fe80::/10
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:7 buckets:1 uRPF:6 to:[0:0]]
    [0] [@14]: ip6-link-local
vpp#
vpp# show ip6 neighbors
No ip6 neighbors
vpp#
vpp# show mpl
vpp#
vpp# sh int addr
GigabitEthernet3/0/1 (dn):
GigabitEthernet3/0/2 (dn):
GigabitEthernet3/0/3 (up):
  L3 100.65.0.1/16
GigabitEthernet8/0/0 (dn):
GigabitEthernet9/0/0 (up):
  L3 103.79.223.13/29
  L3 2001:470:1f15:10d::9/64
TenGigabitEthernet82/0/0 (up):
  L3 100.96.0.1/16
TenGigabitEthernet82/0/1 (up):
TenGigabitEthernet82/0/1.30 (up):
  L3 100.97.0.1/16
  L3 2001:470:7878:800::1/64
TenGigabitEthernet82/0/1.60 (up):
  L3 100.64.0.1/23
TenGigabitEthernet85/0/0 (dn):
TenGigabitEthernet85/0/1 (up):
  L3 172.30.1.2/29
  L3 2001:470:7878:30:1::2/125
local0 (dn):
tap0 (up):
vpp#
vpp# sh pppoe session
[0] sw-if-index 13 client-ip 100.99.0.177 session-id 7116 encap-if-index 6 
decap-fib-index 0
    local-mac 40:7b:1b:00:12:38  client-mac 02:42:0a:01:00:08
vpp# show int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count
GigabitEthernet3/0/1              1     down         9000/0/0/0
GigabitEthernet3/0/2              2     down         9000/0/0/0
GigabitEthernet3/0/3              3      up          9000/0/0/0
GigabitEthernet8/0/0              4     down         9000/0/0/0     tx packets  
                   1
                                                                    tx bytes    
                 106
GigabitEthernet9/0/0              5      up          9000/0/0/0     rx packets  
                1206
                                                                    rx bytes    
              318213
                                                                    tx packets  
                 592
                                                                    tx bytes    
              269094
                                                                    drops       
                 626
                                                                    ip4         
                 587
                                                                    ip6         
                 116
                                                                    tx-error    
                   4
TenGigabitEthernet82/0/0          6      up          9000/0/0/0     rx packets  
                1445
                                                                    rx bytes    
               96428
                                                                    tx packets  
                 325
                                                                    tx bytes    
               21962
                                                                    drops       
                 721
                                                                    ip4         
                  17
                                                                    ip6         
                 354
TenGigabitEthernet82/0/1          7      up          9000/0/0/0     rx packets  
                 346
                                                                    rx bytes    
               20760
                                                                    tx packets  
                   7
                                                                    tx bytes    
                 694
                                                                    drops       
                 346
TenGigabitEthernet82/0/1.30       10     up           0/0/0/0       tx packets  
                   7
                                                                    tx bytes    
                 694
TenGigabitEthernet82/0/1.60       11     up           0/0/0/0
TenGigabitEthernet85/0/0          8     down         9000/0/0/0     tx-error    
                  21
TenGigabitEthernet85/0/1          9      up          9000/0/0/0     rx packets  
                  46
                                                                    rx bytes    
                3798
                                                                    tx packets  
                  25
                                                                    tx bytes    
                2374
                                                                    drops       
                   1
                                                                    punt        
                  28
                                                                    ip4         
                  45
local0                            0     down          0/0/0/0       tx packets  
                   8
                                                                    tx bytes    
                 848
                                                                    drops       
                   2
pppoe_session0                    13     up           0/0/0/0
pppoe_session10                   23     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session11                   24     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session12                   25     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session13                   26     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session14                   27     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session15                   28     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session16                   29     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session17                   30     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session18                   31     up           0/0/0/0
pppoe_session19                   32     up           0/0/0/0
pppoe_session1                    14     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session20                   33     up           0/0/0/0
pppoe_session21                   34     up           0/0/0/0
pppoe_session22                   35     up           0/0/0/0
pppoe_session23                   36     up           0/0/0/0
pppoe_session24                   37     up           0/0/0/0
pppoe_session25                   38     up           0/0/0/0
pppoe_session26                   39     up           0/0/0/0
pppoe_session27                   40     up           0/0/0/0
pppoe_session28                   41     up           0/0/0/0
pppoe_session29                   42     up           0/0/0/0
pppoe_session2                    15     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session30                   43     up           0/0/0/0
pppoe_session31                   44     up           0/0/0/0
pppoe_session3                    16     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session4                    17     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session5                    18     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session6                    19     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session7                    20     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session8                    21     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session9                    22     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
tap0                              12     up          9000/0/0/0     rx packets  
                 623
                                                                    rx bytes    
               41066
                                                                    tx packets  
                 343
                                                                    tx bytes    
               21245
                                                                    drops       
                   7
                                                                    ip6         
                   7
vpp# show int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count
GigabitEthernet3/0/1              1     down         9000/0/0/0
GigabitEthernet3/0/2              2     down         9000/0/0/0
GigabitEthernet3/0/3              3      up          9000/0/0/0
GigabitEthernet8/0/0              4     down         9000/0/0/0     tx packets  
                   1
                                                                    tx bytes    
                 106
GigabitEthernet9/0/0              5      up          9000/0/0/0     rx packets  
                1210
                                                                    rx bytes    
              318453
                                                                    tx packets  
                 592
                                                                    tx bytes    
              269094
                                                                    drops       
                 630
                                                                    ip4         
                 587
                                                                    ip6         
                 116
                                                                    tx-error    
                   4
TenGigabitEthernet82/0/0          6      up          9000/0/0/0     rx packets  
                1588
                                                                    rx bytes    
              106160
                                                                    tx packets  
                 375
                                                                    tx bytes    
               25432
                                                                    drops       
                 759
                                                                    ip4         
                  22
                                                                    ip6         
                 390
TenGigabitEthernet82/0/1          7      up          9000/0/0/0     rx packets  
                 348
                                                                    rx bytes    
               20880
                                                                    tx packets  
                   7
                                                                    tx bytes    
                 694
                                                                    drops       
                 348
TenGigabitEthernet82/0/1.30       10     up           0/0/0/0       tx packets  
                   7
                                                                    tx bytes    
                 694
TenGigabitEthernet82/0/1.60       11     up           0/0/0/0
TenGigabitEthernet85/0/0          8     down         9000/0/0/0     tx-error    
                  21
TenGigabitEthernet85/0/1          9      up          9000/0/0/0     rx packets  
                  51
                                                                    rx bytes    
                4288
                                                                    tx packets  
                  30
                                                                    tx bytes    
                2864
                                                                    drops       
                   1
                                                                    punt        
                  28
                                                                    ip4         
                  50
local0                            0     down          0/0/0/0       tx packets  
                  12
                                                                    tx bytes    
                1272
                                                                    drops       
                   2
pppoe_session0                    13     up           0/0/0/0
pppoe_session10                   23     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session11                   24     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session12                   25     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session13                   26     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session14                   27     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session15                   28     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session16                   29     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session17                   30     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session18                   31     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session19                   32     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session1                    14     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session20                   33     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session21                   34     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session22                   35     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session23                   36     up           0/0/0/0
pppoe_session24                   37     up           0/0/0/0
pppoe_session25                   38     up           0/0/0/0
pppoe_session26                   39     up           0/0/0/0
pppoe_session27                   40     up           0/0/0/0
pppoe_session28                   41     up           0/0/0/0
pppoe_session29                   42     up           0/0/0/0
pppoe_session2                    15     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session30                   43     up           0/0/0/0
pppoe_session31                   44     up           0/0/0/0
pppoe_session32                   45     up           0/0/0/0
pppoe_session33                   46     up           0/0/0/0
pppoe_session34                   47     up           0/0/0/0
pppoe_session35                   48     up           0/0/0/0
pppoe_session3                    16     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session4                    17     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session5                    18     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session6                    19     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session7                    20     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session8                    21     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
pppoe_session9                    22     up           0/0/0/0       rx packets  
                   1
                                                                    rx bytes    
                  84
                                                                    tx packets  
                   1
                                                                    tx bytes    
                 106
tap0                              12     up          9000/0/0/0     rx packets  
                 713
                                                                    rx bytes    
               46946
                                                                    tx packets  
                 393
                                                                    tx bytes    
               24340
                                                                    drops       
                   7
                                                                    ip6         
                   7
tap0  
Aborted (core dumped)
root@build-02:~# gdb /usr/bin/vpp /tmp/dumps/vpp_main-1569499324
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/vpp...Reading symbols from 
/usr/lib/debug/.build-id/77/985963d2329c4ec8c87666783cd332db786cd5.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 7802]
[New LWP 8510]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/vpp -c /etc/vpp/startup.conf'.
Program terminated with signal SIGABRT, Aborted.

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7fba89b0a780 (LWP 7802))]
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007fba87c6b801 in __GI_abort () at abort.c:79
#2  0x0000560d0c70cc9e in os_exit (code=code@entry=1) at 
/root/build-1908/src/vpp/vnet/main.c:379
#3  0x00007fba88595809 in unix_signal_handler (signum=<optimized out>, 
si=<optimized out>, uc=<optimized out>)
    at /root/build-1908/src/vlib/unix/main.c:183
#4  <signal handler called>
#5  0x00007fba88e9ce0b in vlib_increment_combined_counter (n_bytes=<optimized 
out>, n_packets=1, index=538976288, thread_index=0,
    cm=0x7fba481f46a0) at /root/build-1908/src/vlib/counter.h:229
#6  vnet_interface_output_node_inline_gso (do_segmentation=0, do_tx_offloads=0, 
hi=<optimized out>, vnm=0x7fba8969a360 <vnet_main>,
    frame=<optimized out>, node=0x7fba47f5ed00, vm=0x7fba887afa40 
<vlib_global_main>)
    at /root/build-1908/src/vnet/interface_output.c:775
#7  vnet_interface_output_node_inline (do_tx_offloads=0, hi=<optimized out>, 
vnm=0x7fba8969a360 <vnet_main>, frame=<optimized out>,
    node=0x7fba47f5ed00, vm=0x7fba887afa40 <vlib_global_main>) at 
/root/build-1908/src/vnet/interface_output.c:865
#8  vnet_interface_output_node (vm=0x7fba887afa40 <vlib_global_main>, 
node=0x7fba47f5ed00, frame=<optimized out>)
    at /root/build-1908/src/vnet/interface_output.c:891
#9  0x00007fba8854e486 in dispatch_node (last_time_stamp=3617756985731352, 
frame=0x7fba4855a580,
    dispatch_state=VLIB_NODE_STATE_POLLING, type=VLIB_NODE_TYPE_INTERNAL, 
node=0x7fba47f5ed00, vm=0x7fba887afa40 <vlib_global_main>)
    at /root/build-1908/src/vlib/main.c:1207
#10 dispatch_pending_node (vm=vm@entry=0x7fba887afa40 <vlib_global_main>, 
pending_frame_index=pending_frame_index@entry=5,
    last_time_stamp=last_time_stamp@entry=3617756985731352) at 
/root/build-1908/src/vlib/main.c:1375
#11 0x00007fba88551868 in vlib_main_or_worker_loop (is_main=1, 
vm=0x7fba887afa40 <vlib_global_main>)
    at /root/build-1908/src/vlib/main.c:1826
#12 vlib_main_loop (vm=0x7fba887afa40 <vlib_global_main>) at 
/root/build-1908/src/vlib/main.c:1928
#13 vlib_main (vm=<optimized out>, vm@entry=0x7fba887afa40 <vlib_global_main>, 
input=input@entry=0x7fba47291fa0)
    at /root/build-1908/src/vlib/main.c:2145
#14 0x00007fba88594826 in thread0 (arg=140439130405440) at 
/root/build-1908/src/vlib/unix/main.c:640
88046be4 in clib_calljmp () from 
/usr/lib/x86_64-linux-gnu/libvppinfra.so.19.08.1
#16 0x00007ffe048c2130 in ?? ()
#17 0x00007fba88595cd7 in vlib_unix_main (argc=<optimized out>, argv=<optimized 
out>) at /root/build-1908/src/vlib/unix/main.c:710
#18 0x5c8b4824048b4800 in ?? ()
#19 0x4810244c8b480824 in ?? ()
#20 0x246c8b481824548b in ?? ()
---Type <return> to continue, or q <return> to quit---
#21 0x8b482824748b4820 in ?? ()
#22 0x3824448b4c30247c in ?? ()
#23 0x548b4c40244c8b4c in ?? ()
#24 0x4c50245c8b4c4824 in ?? ()
...
..
diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c
index 272475938..657f03e85 100755
--- a/src/vnet/ethernet/node.c
+++ b/src/vnet/ethernet/node.c
@@ -1163,11 +1163,11 @@ ethernet_input_inline (vlib_main_t * vm,
 		  if (!ethernet_address_cast (e0->dst_address) &&
 		      (hi->hw_address != 0) &&
 		      !ethernet_mac_address_equal ((u8 *) e0, hi->hw_address))
-		    error0 = ETHERNET_ERROR_L3_MAC_MISMATCH;
+		  {} //error0 = ETHERNET_ERROR_L3_MAC_MISMATCH;
 		  if (!ethernet_address_cast (e1->dst_address) &&
 		      (hi->hw_address != 0) &&
 		      !ethernet_mac_address_equal ((u8 *) e1, hi->hw_address))
-		    error1 = ETHERNET_ERROR_L3_MAC_MISMATCH;
+		  {} //error1 = ETHERNET_ERROR_L3_MAC_MISMATCH;
 		  vlib_buffer_advance (b0, sizeof (ethernet_header_t));
 		  determine_next_node (em, variant, 0, type0, b0,
 				       &error0, &next0);
@@ -1385,7 +1385,7 @@ ethernet_input_inline (vlib_main_t * vm,
 		  if (!ethernet_address_cast (e0->dst_address) &&
 		      (hi->hw_address != 0) &&
 		      !ethernet_mac_address_equal ((u8 *) e0, hi->hw_address))
-		    error0 = ETHERNET_ERROR_L3_MAC_MISMATCH;
+		  {} //error0 = ETHERNET_ERROR_L3_MAC_MISMATCH;
 		  vlib_buffer_advance (b0, sizeof (ethernet_header_t));
 		  determine_next_node (em, variant, 0, type0, b0,
 				       &error0, &next0);

Attachment: startup.conf
Description: Binary data

comment { North Interfaces }
set int state GigabitEthernet9/0/0 up
set int ip address GigabitEthernet9/0/0 103.79.223.13/29
set int ip address GigabitEthernet9/0/0 2001:470:1f15:10d::9/64
set int state TenGigabitEthernet85/0/1 up
set int ip address TenGigabitEthernet85/0/1 172.30.1.2/29
set int ip address TenGigabitEthernet85/0/1 2001:470:7878:30:1::2/125

comment { South Interfaces }
set int state GigabitEthernet3/0/3 up
set int ip address GigabitEthernet3/0/3 100.65.0.1/16
set int state TenGigabitEthernet82/0/1 up
set int state TenGigabitEthernet82/0/0 up
set int ip address TenGigabitEthernet82/0/0 100.96.0.1/16

comment { South Sub Interfaces }
create sub TenGigabitEthernet82/0/1 30
set int state TenGigabitEthernet82/0/1.30 up
set int ip address TenGigabitEthernet82/0/1.30 100.97.0.1/16
set int ip address TenGigabitEthernet82/0/1.30 2001:470:7878:800::1/64
create sub TenGigabitEthernet82/0/1 60
set int state TenGigabitEthernet82/0/1.60 up
set int ip address TenGigabitEthernet82/0/1.60 100.64.0.1/23

comment {  Default route for ipv4  }
ip route add 0.0.0.0/0 via 103.79.223.9 GigabitEthernet9/0/0

comment {  Default route for ipv6  }
ip route add ::/0 via 2001:470:1f15:10d::1 GigabitEthernet9/0/0

comment { Add PPPOE tap }
create tap id 0 host-if-name pppoetap
set int state tap0 up
create pppoe cp cp-if-index 12

ip route add 172.29.1.0/28 via 172.30.1.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14063): https://lists.fd.io/g/vpp-dev/message/14063
Mute This Topic: https://lists.fd.io/mt/34298895/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