Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1156

Duplicate FIB entries observed when Dualstack VM when router gets associated with VPN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: High High
    • Oxygen
    • None
    • General
    • High

      Duplicate FIB entries observed when Dualstack VM when router gets associated with VPN

       

      1. Create Network1 with S1(ipv4) and S2(ipv6àwith SLAAC)
      2. Check FIB entries whether all IPv4 and IPv6 entries observed. à PASS
      3. Create L3VPN
      4. Associate Router to L3VPN and check FIB.

       

      Issue:

       

        FIB should not add duplicate entries. It should only replace RD from router to VPN.

       

       

      FIB Observed:

       

      opendaylight-user@root>fib-show

         RD       Prefix                NextHop               Label    Origin

         -------------------------------------------------------------------

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  10.1.1.9/32           10.164.224.14         100005   l

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe34:c812/128  10.164.224.15         100007   l

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fee4:aadc/128  10.164.224.14         100003   l

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  10.1.1.12/32          10.164.224.15         100006   l

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe88:d56e/128  10.164.224.14         100004   l

         c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe29:cdf8/128  10.164.224.15         100002   l

         100:1    10.1.1.9/32           10.164.224.14         100013   l

         100:1    2001:db8:1234::/64    10.164.224.14         100009   c

         100:1    2001:db8:1234:0:f816:3eff:fe34:c812/128  10.164.224.15         100015   l

         100:1    2001:db8:1234::1/128  0.0.0.0               100010   l

         100:1    2001:db8:1234:0:f816:3eff:fee4:aadc/128  10.164.224.14         100012   l

         100:1    10.1.1.12/32          10.164.224.15         100014   l

         100:1    2001:db8:1234:0:f816:3eff:fe88:d56e/128  10.164.224.14         100011   l

         100:1    2001:db8:1234:0:f816:3eff:fe29:cdf8/128  10.164.224.15         100016   l

            

       

      Steps Used:

      neutron net-create mynet1

      neutron subnet-create mynet1 10.1.1.0/24 --enable-dhcp --name net1-snet1

      neutron port-create mynet1 --name myport11 --security-group=X

      neutron port-create mynet1 --name myport21 --security-group=X

      nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport11' | awk '{print $2}') myhost11 --availability-zone nova:rajarajan-14 

      nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport21' | awk '{print $2}') myhost21 --availability-zone nova:rajarajan-15 

      neutron subnet-create mynet1 2001:db8:1234::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name net1-snet2

      neutron router-create R1

      neutron router-interface-add R1 net1-snet2

      neutron port-create mynet1 --name myport12 --security-group=X

      neutron port-create mynet1 --name myport22 --security-group=X

      nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}') myhost12 --availability-zone nova:rajarajan-14

      nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport22' | awk '{print $2}') myhost22 --availability-zone nova:rajarajan-15

       

      Create L3VPN and Associate above router to L3VPN.

            nithithomas nithi thomas
            rajamk RajaRajan Manickam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days
                3d