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

Mapping algorithm compute wrong ea-bits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09
    • None
    • None
    • None

      VAT configuration

      sw_interface_add_del_address sw_if_index 1 2001:0::1/64
      sw_interface_add_del_address sw_if_index 2 10.0.0.1/24
      sw_interface_set_flags sw_if_index 1 admin-up
      sw_interface_set_flags sw_if_index 2 admin-up

      ::/0 via 2001:0::2 sw_if_index 1
      ip_neighbor_add_del sw_if_index 1 dst 2001:0::2 mac 08:00:27:46:2b:4c

      ea_bit_length + ipv4_pfx_length < 32
      psid_offset = 0
      psid_len = 0
      ipv6_src = 2001:db8:ffff::1
      ipv4_dst = 20.169.201.219
      udp_dst_port = 1232

      ipv4_pfx ipv6_pfx ea_bit_len expected_ipv6_dst received_ipv6_dst
      ================= =============== ============ ================================== ============================
      20.0.0.0/8 2001:db8::/32 4 2001:db8:a000::14a0:0:0 2001:db8:14:a000:0:14a0::
      20.0.0.0/8 2001:db8::/32 8 2001:db8:a900::14a9:0:0 2001:db8:14a9::14a9:0:0
      20.0.0.0/8 2001:db8::/32 10 2001:db8:a9c0::14a9:c000:0 2001:db8:4a9c::14a9:c000:0
      20.0.0.0/8 2001:db8::/32 16 2001:db8:a9c9::14a9:c900:0 2001:db8:c900::14a9:c900:0
      20.0.0.0/8 2001:db8::/32 20 2001:db8:a9c9:d000:0:14a9:c9d0:0 2001:db8:d000::14a9:c9d0:0
      20.0.0.0/8 2001:db8::/32 23 2001:db8:a9c9:da00:0:14a9:c9da:0 2001:db8:8000::14a9:c9da:0
      20.169.201.0/24 2001:db8::/32 7 2001:db8:da00::14a9:c9da:0 2001:db8:8000::14a9:c9da:0

      show version
      vpp v16.09-rc0~233-gad2c9c0~b404 built by jenkins on ubnt-trusty-3ab at Thu Jul 14 14:53:37 UTC 2016

            otroan Ole Trøan
            mklotton Matej Klotton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: