Skip to content

IPAM allows creation of IPAddresses with '0' mask length #3864

Closed
@tyler-8

Description

@tyler-8

Environment

  • Python version: 3.6.8
  • NetBox version: v2.6.7

Steps to Reproduce

  1. Create an IP address with a /0 mask

Expected Behavior

Validation error returned in form when trying to create an IP address with a mask of 0.

Observed Behavior

Netbox GUI times out and returns HTTP 504 while trying to load IPAddress detail page. You can see the IP is successfully created in the changelog, but any attempt to view the detail page times out with a reasonable nginx/gunicorn worker timeout (<60 seconds).

Metadata

Metadata

Assignees

No one assigned

    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