Skip to content

Conversation

@nadzyah
Copy link
Member

@nadzyah nadzyah commented Oct 14, 2025

This PR adds a Rust implementation of the nameif command from net-tools, which renames network interfaces based on MAC addresses

Like the original nameif command, the implemented solution supports reading from the configuration file (-c/--config-file option, default /etc/mactab) and from CLI arguments, e.g. nameif testif0 00:11:22:33:44:55

The -s/--syslog option from the original is not implemented for the sake of the PR size and will be added in a follow-up PR

The PR also adds compliance tests for the nameif command to verify that its behaviour matches the original nameif command one

@nadzyah nadzyah requested a review from lvoytek October 14, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant