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

IP address subnet validation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Cannot Reproduce
    • 17.04, 17.07, 17.10, 18.01
    • 18.07
    • IP
    • None

    Description

      When attempting to configure two IP addresses from the same subnet on an interface:

      vat# sw_interface_add_del_address sw_if_index 0 10.0.0.1/24
      vat# sw_interface_add_del_address sw_if_index 0 10.0.0.2/24

      The second command fails(as it should) but it returns "retval": 0

      vat# ip_address_dump ipv4 sw_if_index 0

      [

      { "ip": "10.0.0.1", "prefix_length": 24 }

      ]

      Attachments

        Issue Links

          Activity

            People

              fivarga89 Filip Varga
              selias Samuel Eliáš
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: