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

IP address subnet validation

XMLWordPrintable

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

      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 }

      ]

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

              Created:
              Updated:
              Resolved: