MERAprojects / ops-quagga

GNU General Public License v2.0
0 stars 0 forks source link

IPv6 static route command 'ipv6 route X:X::X:X/M INTERFACE' works incorrect #5

Open xivamar opened 8 years ago

xivamar commented 8 years ago

Problem Description:

The static route command 'ipv6 route X:X::X:X/M INTERFACE' works incorrect. Static route via interface isn't deleted from kernel routing table.

OpenSwitch version:

OpenSwitch 0.4.0 (Build: genericx86-64-ops-0.4.0-development-20160506094536-dev)

Test Topology:

      DUT3 
     /    \
 DUT2 --- DUT4
    \      /
      DUT1

Steps to reproduce the problem (see attached file):

  1. Configure ipv6 addresses on each DUTs. Add static route to 2002::6500:8/126 network on DUT1.
  2. Check routing table via ip netns exec swns ip -6 route and show rib on DUT1. All routes should be in the tables (static route is present).
  3. Ping from DUT1 interface 2002:0:0:0:0:0:6500:9/126 on DUT2. Ping should be successful.
  4. Delete existing static route and configure new static route to 2002::6500:8/126 network through interface 1.
  5. Check routing table. All routes should be in the tables.
  6. Try to ping interface 2002:0:0:0:0:0:6500:9/126 from DUT1. NOK: Ping is absent.

IPv6_static_route_command_works_incorrect.txt

xschily commented 8 years ago

When route is configured via dev eth3 DUT1 will send ICMPv6 neighbor solicitation message for 2002::6500:9. DUT2 will not reply to the message, DUT1 will not send ICMP echo requests.