MTU on interface changed from 9200 to 9199 with bulk edit #10462

Closed
opened 2025-12-29 21:31:49 +01:00 by adam · 1 comment
Owner

Originally created by @rullemus on GitHub (Nov 11, 2024).

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.0.6

Python Version

3.10

Steps to Reproduce

  1. Create a new device with interfaces. Interfaces have no MTU set from the device-type.
  2. Select a few interfaces and click Edit Selected
  3. Set the MTU as 9200, then click apply
  4. MTU appears as 9199 instead of 9200
  • This is only an issue with an MTU size of 9200. When i test with 9100, it works as intended.

Workaround:

  1. Edit the first interfaces with the edit button on the interface row. Set MTU to 9200 and apply.
  2. First Interface shows as 9200
  3. Select the interfaces below the first one and bulk edit. Set MTU to 9200 and apply.
  4. Now the interfaces show a MTU of 9200

Expected Behavior

I expect netbox not to change the MTU value i enter

Observed Behavior

Netbox changes a MTU value from 9200 to 9199 in some bulk edit cases.

Originally created by @rullemus on GitHub (Nov 11, 2024). ### Deployment Type Self-hosted ### Triage priority N/A ### NetBox Version v4.0.6 ### Python Version 3.10 ### Steps to Reproduce 1. Create a new device with interfaces. Interfaces have no MTU set from the device-type. 2. Select a few interfaces and click Edit Selected 3. Set the MTU as 9200, then click apply 4. MTU appears as 9199 instead of 9200 - This is only an issue with an MTU size of 9200. When i test with 9100, it works as intended. Workaround: 1. Edit the first interfaces with the edit button on the interface row. Set MTU to 9200 and apply. 2. First Interface shows as 9200 3. Select the interfaces below the first one and bulk edit. Set MTU to 9200 and apply. 4. Now the interfaces show a MTU of 9200 ### Expected Behavior I expect netbox not to change the MTU value i enter ### Observed Behavior Netbox changes a MTU value from 9200 to 9199 in some bulk edit cases.
adam closed this issue 2025-12-29 21:31:49 +01:00
Author
Owner

@rullemus commented on GitHub (Nov 11, 2024):

Well, scrolling down on the bulk edit page caused the MTU value field to decrease...
Apologies for the noise.

@rullemus commented on GitHub (Nov 11, 2024): Well, scrolling down on the bulk edit page caused the MTU value field to decrease... Apologies for the noise.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10462