Skip to content

large ipv6 ranges lead to an error #7252

@hojerst

Description

@hojerst

NetBox version

v3.0.2

Python version

3.9

Steps to Reproduce

  1. try to create an ip range for 1:2:3:4::/64 to 1:2:3:4::ffff:ffff/64

I assume, that the size calculation leads to an error, as this doesn't fit to an int32

Expected Behavior

ip range is created

Observed Behavior

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'django.db.utils.DataError'>

integer out of range

Python version: 3.9.5
NetBox version: 3.0.2

If further assistance is required, please post to the NetBox discussion forum on GitHub.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions