Hi...
I am using pve-network-interface-pinning to pin enp1s0, for instance, to eth0, eth1... and so on.
I have 9 nic each server.
But I need to change the hardware and after that, all nic turns back to previously name, like enp1s0, when I use ip a command.
If I try to change it back up eth0, I got this error:
So I need to understand where pve-network-interface-pinning store it's configuration.
Is there anyway to recreate the network interface pinning?
Thanks
I am using pve-network-interface-pinning to pin enp1s0, for instance, to eth0, eth1... and so on.
I have 9 nic each server.
But I need to change the hardware and after that, all nic turns back to previously name, like enp1s0, when I use ip a command.
If I try to change it back up eth0, I got this error:
Code:
pve-network-interface-pinning generate --interface enp7s0 --target-name eth1
This will generate name pinning configuration for the interface 'enp7s0' - continue (y/N)?
y
could not resolve 52:54:00:9d:5d:1e to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:4b:ae:f5 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:94:3a:9f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:29:26:c5 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:ee:b3:68 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:af:22:2f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:f3:81:08 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:4b:c1:2b to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:31:c5:1f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
target-name already exists as link or pin!
So I need to understand where pve-network-interface-pinning store it's configuration.
Is there anyway to recreate the network interface pinning?
Thanks