opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
137 stars 35 forks source link

Strange IPv6 subnet conflicts where there are none #82

Open raabf opened 10 years ago

raabf commented 10 years ago

ONA report Subnet Conflicts on some special IPv6 Subnets even if there is no conflict.

Reproduce

Test1

  1. Create Subnet fe80::/10
  2. Create Subnet 2a02:2c0::/32
  3. Save failed. ERROR => Subnet address conflict! New subnet would encompass an existing subnet.

Test 2

  1. Create Subnet 2a02:2c0::/32
  2. Create Subnet fe80::/10
  3. Save failed. ERROR => Subnet address conflict! New subnet starts inside an existing subnet.

If the Netmask of 2a02:2c0:: is /33 or higher both Tests work. The Netmask of `fe80:: doesn't matter it will always not work or work if the other one is /33 or higher.

I don't see any Subnet conflict ...

0010101000000010:0000001011000000 2a02:2c0::/32 `---------------:---------------´

1111111010000000:0000000000000000 fe80::/10 `--------´

Environment

I use the actual master branch of ONA. The Tests were done on a fresh ONA install with no existing Subnets.