Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Interfaces randmoly change upon reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interfaces randmoly change upon reboot (Read 1782 times)
maverick1803
Newbie
Posts: 1
Karma: 0
Interfaces randmoly change upon reboot
«
on:
June 06, 2020, 10:36:34 am »
Hi,
I've got OPNsense-20.1 running on as VM inside a KVM, I've got around 10 interfaces (vNICs) attached to this VM (or at least that's the end state that I wish to have). I start my setup by adding 3 x vNICs (interfaces) to the VM but the moment I start adding a fourth, fifth, etc. Interfaces (vNICs) to the VM and gracefully reboot it, I get some random behavior for the interfaces that are already assigned to vNICs.
for example, I have WAN interface assigned to device vtnet0, what I sometimes find after adding a new vNIC and doing a reboot is that the WAN interface is still assigned to vtnet0 but the mac address of vtnet0 has changed and that the previous mac address it had now belongs to for example device vtnet5. since opnsense uses the device name and not mac address this messes up my whole setup.
I don't know where to begin troubleshooting this as it's strange and I've never seen it happen before. are there any log files that can help my trace this issue to its source?
thanks.
Logged
binaryanomaly
Full Member
Posts: 163
Karma: 9
Re: Interfaces randmoly change upon reboot
«
Reply #1 on:
June 06, 2020, 03:59:40 pm »
I have only ever experienced OPNsense loosing the interface assignment after I had changed the interface type of the vm i.e. from virtio to e1000.
I've never experienced such behavior when I only added an interface to a kvm based vm.
Logged
meazz1
Jr. Member
Posts: 90
Karma: 1
Re: Interfaces randmoly change upon reboot
«
Reply #2 on:
June 06, 2020, 04:12:53 pm »
make sure you have the check
Interfaces-->Lan----->Prevent interface removal.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Interfaces randmoly change upon reboot