The functional role of this IP (Gateway/Broadcast) #2427

Closed
opened 2025-12-29 17:26:00 +01:00 by adam · 1 comment
Owner

Originally created by @Maxkaha on GitHub (Mar 4, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5.6

Proposed Functionality

Is it possible to have the roles "Gateway" and "broadcast" for IP addresses?

Use Case

N/A

Database Changes

N/A

External Dependencies

Originally created by @Maxkaha on GitHub (Mar 4, 2019). <!-- NOTE: This form is only for proposing specific new features or enhancements. If you have a general idea or question, please post to our mailing list instead of opening an issue: https://groups.google.com/forum/#!forum/netbox-discuss NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.5.2 * NetBox version: 2.5.6 <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality Is it possible to have the roles "Gateway" and "broadcast" for IP addresses? ### Use Case N/A ### Database Changes N/A ### External Dependencies
adam closed this issue 2025-12-29 17:26:00 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 4, 2019):

The gateway "role" is entirely dependent on configured routes: One prefix may have different gateways for different hosts and/or different destinations. It's not a function of the IP address model to declare whether an IP is a gateway for some subset of hosts.

Similarly, broadcast functionality is informed by the assigned address and mask: It's not something that can be toggled. Typically, you won't create IP addresses in NetBox to represent the broadcast address anyway.

@jeremystretch commented on GitHub (Mar 4, 2019): The gateway "role" is entirely dependent on configured routes: One prefix may have different gateways for different hosts and/or different destinations. It's not a function of the IP address model to declare whether an IP is a gateway for some subset of hosts. Similarly, broadcast functionality is informed by the assigned address and mask: It's not something that can be toggled. Typically, you won't create IP addresses in NetBox to represent the broadcast address anyway.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2427