Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Interface assignements broken after deleting virtual nic of opnsense on proxmox
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interface assignements broken after deleting virtual nic of opnsense on proxmox (Read 3424 times)
t.mayer
Newbie
Posts: 16
Karma: 0
Interface assignements broken after deleting virtual nic of opnsense on proxmox
«
on:
November 30, 2021, 06:50:16 pm »
Hello OPNsense-Forum!
Due to a change of my network-setup, i needed one interface less on my opnsense-vm on proxmox.
Therefore I ...
disabled the interface on interfaces > [interface-name]
deleted the interface on inferfaces > assignements
removed the corresponding virtual nic of the vm on proxmox
After a reboot of OPNsense all nic-assignements were broken.
Is there a way of deleting virtual unassigned nics without breaking the assignements of the existing nics?
Thanks for your help!
Tom
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Interface assignements broken after deleting virtual nic of opnsense on proxmox
«
Reply #1 on:
December 01, 2021, 01:19:05 pm »
Quote from: t.mayer on November 30, 2021, 06:50:16 pm
After a reboot of OPNsense all nic-assignements were broken.
These statements are difficult to advise on. Nobody can see what only you can.
Logged
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
Re: Interface assignements broken after deleting virtual nic of opnsense on proxmox
«
Reply #2 on:
December 01, 2021, 01:43:21 pm »
In a hypervisor environment interface assignments (virtual PCI slot) tend to change in unintuitive ways when interfaces are added or removed. Contrary to Linux FreeBSD does not map device names to MAC addresses but to the "physical" interface present, i.e. the PCI address etc.
To my knowledge there is no way around that other than taking notes of the interfaces and MAC addresses and fixing the assignment after the VM change.
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Interface assignements broken after deleting virtual nic of opnsense on proxmox
«
Reply #3 on:
December 01, 2021, 02:50:37 pm »
There is a rc script capable of doing this (ethname), but it's not integrated into OPNsense.
General rule of thumb, never ever remove NICs and if you add some (also on pyhsical systems) be prepared to adjust NIC names via console manually
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
t.mayer
Newbie
Posts: 16
Karma: 0
Re: Interface assignements broken after deleting virtual nic of opnsense on proxmox
«
Reply #4 on:
December 01, 2021, 07:03:48 pm »
Thanks for all of your answers!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Interface assignements broken after deleting virtual nic of opnsense on proxmox