hello guys, I need some help with qemu configuration on proxmox
I want to run opnsense in qemu vm, the aim is to run 2-3 (opnsense in qemu and a one maybe two lxc containers) machines virtualized
the problem I've got stuck with is my ISP kinda "blocking" me because I have one MAC address of physical device (RTL8139) when the PC is being booted and then another
MAC address when the vm with bridged vmbr0 device is brought up.
What I've found so far: when I turn on the host PC my RTL8139 card sends some requests maybe those are some BOOTP requests, I don't know but I could sniff them if needed, then when the VM with OPNSence is being brought up it cannot get IP from ISP by MAC as it has different MAC address.
I tried to set net0 virtio=XX:XX:XX:XX:XX:XX to the same as physical RTL8139. Of course the idea has failed as there were messages in dmesg saying smth about source mac was the same as dest mac (as if I had duplicate mac on the net)
I alse tried to use iommu but the hardware doesn't seem to support
Maybe this is not the way it should be done? I mean the whole idea is wrong and there is some kind of best practice
here's what I've found on reddit for example:
https://www.reddit.com/r/OPNsenseFirewall/comments/a25pth/best_container_solution/eazx30x/
the guy runs multiple opnsense instances in proxmox, but of course he has another network conditions
I want to run opnsense in qemu vm, the aim is to run 2-3 (opnsense in qemu and a one maybe two lxc containers) machines virtualized
the problem I've got stuck with is my ISP kinda "blocking" me because I have one MAC address of physical device (RTL8139) when the PC is being booted and then another
MAC address when the vm with bridged vmbr0 device is brought up.
What I've found so far: when I turn on the host PC my RTL8139 card sends some requests maybe those are some BOOTP requests, I don't know but I could sniff them if needed, then when the VM with OPNSence is being brought up it cannot get IP from ISP by MAC as it has different MAC address.
I tried to set net0 virtio=XX:XX:XX:XX:XX:XX to the same as physical RTL8139. Of course the idea has failed as there were messages in dmesg saying smth about source mac was the same as dest mac (as if I had duplicate mac on the net)
I alse tried to use iommu but the hardware doesn't seem to support
Maybe this is not the way it should be done? I mean the whole idea is wrong and there is some kind of best practice
here's what I've found on reddit for example:
https://www.reddit.com/r/OPNsenseFirewall/comments/a25pth/best_container_solution/eazx30x/
the guy runs multiple opnsense instances in proxmox, but of course he has another network conditions