New created MAC Address not showing in the Interface view of a device #10936

Closed
opened 2025-12-29 21:37:58 +01:00 by adam · 5 comments
Owner

Originally created by @BartZimmo on GitHub (Mar 24, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.2.6

Python Version

3.12

Steps to Reproduce

  1. Select a Device with interfaces.
  2. Click on interface tab.
  3. Click on the plus button from an interface and select MAC address.
  4. Fill in MAC address and click on Create.
  5. Return to the interface View of the device.
  6. Make sure the MAC address field is selected in the Table configuration for this view.
  7. The information about the MAC address is not showing!
  8. If you click on the interface name, the MAC address is visible.

Expected Behavior

The MAC address field should show the information about the attached MAC address.

Observed Behavior

The MAC address field shows shows blanco like unconfigured.

Originally created by @BartZimmo on GitHub (Mar 24, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.2.6 ### Python Version 3.12 ### Steps to Reproduce 1. Select a Device with interfaces. 2. Click on interface tab. 3. Click on the plus button from an interface and select MAC address. 4. Fill in MAC address and click on Create. 5. Return to the interface View of the device. 6. Make sure the MAC address field is selected in the Table configuration for this view. 7. The information about the MAC address is not showing! 8. If you click on the interface name, the MAC address is visible. ### Expected Behavior The MAC address field should show the information about the attached MAC address. ### Observed Behavior The MAC address field shows shows blanco like unconfigured.
adam added the status: duplicate label 2025-12-29 21:37:58 +01:00
adam closed this issue 2025-12-29 21:37:58 +01:00
Author
Owner

@BartZimmo commented on GitHub (Mar 24, 2025):

I did some research, and it looks like the select box to set the MAC address as primary is missing.

Image

This is why the MAC is not showing on the interface page.

The MAC address field in the Table configuration is set to this : primary_mac_address

If i update the missing field using bulk import, the MAC is showing.

`is_primary: 'true'

Do we need to add the "Is primary" checkbox to the models_form ?

Image

It would also be helpfull to have the "Is primary_mac_address" status option in the Table configuration for the MAC address page.
`

@BartZimmo commented on GitHub (Mar 24, 2025): I did some research, and it looks like the select box to set the MAC address as primary is missing. ![Image](https://github.com/user-attachments/assets/bed10a53-2d7e-402c-9855-4baf29180ca8) This is why the MAC is not showing on the interface page. The MAC address field in the Table configuration is set to this : primary_mac_address If i update the missing field using bulk import, the MAC is showing. `is_primary: 'true' Do we need to add the "Is primary" checkbox to the models_form ? ![Image](https://github.com/user-attachments/assets/856c67f8-dd5f-4705-ac87-34f670191008) It would also be helpfull to have the "Is primary_mac_address" status option in the Table configuration for the MAC address page. `
Author
Owner

@runleveldev commented on GitHub (Apr 2, 2025):

When you edit the interface after creating the MAC, you can select it as the primary MAC for the interface from that screen. I came here to add a feature request for a "Set as Primary" on the Add MAC address screen though because that gets tedious when adding manually.

@runleveldev commented on GitHub (Apr 2, 2025): When you edit the interface after creating the MAC, you can select it as the primary MAC for the interface from that screen. I came here to add a feature request for a "Set as Primary" on the Add MAC address screen though because that gets tedious when adding manually.
Author
Owner

@BartZimmo commented on GitHub (Apr 3, 2025):

Hi Xeluior,

A "Set as Primary" button would be very helpful and would spare a lot of clicks and time.
Since the option is available during bulk import, i don't think it is hard to provide the same function in the Add MAC address screen.

@BartZimmo commented on GitHub (Apr 3, 2025): Hi Xeluior, A "Set as Primary" button would be very helpful and would spare a lot of clicks and time. Since the option is available during bulk import, i don't think it is hard to provide the same function in the Add MAC address screen.
Author
Owner

@Myke commented on GitHub (Apr 6, 2025):

Concur: https://github.com/netbox-community/netbox/discussions/19090

@Myke commented on GitHub (Apr 6, 2025): Concur: https://github.com/netbox-community/netbox/discussions/19090
Author
Owner

@jeremystretch commented on GitHub (Apr 9, 2025):

Closing this as a duplicate of #18878, which itself should actually be a feature request.

@jeremystretch commented on GitHub (Apr 9, 2025): Closing this as a duplicate of #18878, which itself should actually be a feature request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10936