Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-74

routing: ipv4 route protocol

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.04
    • None
    • None
    • None
    • VPP and HC2VPP from master.ubuntu14 repo:
      "version": "17.04-rc0~247-gb05f1f0~b1873",
      "build_date": "Tue Feb 14 08:45:31 UTC 2017",
      "build_directory": "/w/workspace/vpp-merge-master-ubuntu1404"

      When I configure a single-hop ipv4 route using the Postman request "add single hop ipv4", it results in:
      sudo vppctl show fib paths
      [@0]: dpo-receive: 16.0.0.1 on GigabitEthernet0/8/0
      index:22 pl-index:22 MPLS weight=1 attached-nexthop:
      192.168.2.8 local0
      [@0]: mpls via 192.168.2.8 local0:

      When I apply the same configuration using VAT:
      vat# ip_add_del_route 192.168.2.3/32 via 192.168.2.8 vrf 1 sw_if_index 0

      sudo vppctl show fib paths
      [@0]: dpo-receive: 16.0.0.1 on GigabitEthernet0/8/0
      index:22 pl-index:22 ipv4 weight=1 attached-nexthop:
      192.168.2.8 local0
      [@0]: ipv4 via 192.168.2.8 local0:

      This causes VPP to attempt arp-mpls resolution of the destination address, instead of forwarding packets to next-hop.

            jsrnicek_cisco Jan Srnicek
            selias Samuel Eliáš
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: