Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1459

IP4 lookup fail when exist prefix cover

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • 18.07
    • None
    • IP

      1  . set interface ip address

      host-eth1 (up):
      10.0.1.2/24
      host-eth2 (up):
      10.0.2.2/24

      2  . del one

      set interface ip addr del host-eth1 10.0.1.2/24

      host-eth1 (up):
      host-eth2 (up):
      10.0.2.2/24

       3. add route

      10.0.0.0/8

       

      4.  test

      10.1.1.1—will lookup OK .

      10.0.1.1—will lookup fail .

       

      when delete leaf in function "unset_leaf", need modify like this:

      old:

      old_ply->dst_address_bits_of_leaves[i] =
      clib_max (old_ply->dst_address_bits_base,
      a->cover_address_length);

      new:

      old_ply->dst_address_bits_of_leaves[i] = a->cover_address_length;

            mu.duojiao duojiao mu
            mu.duojiao duojiao mu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified Time Not Required
                Not Specified