December 21, 20241 yr I have an unraid server with two network cards. could I install a vm with opnsense using the two cards, one for wan and one for lan? in this case how would unraid connect to the same virtualized network? Thx.
December 21, 20241 yr Yes. The way I do it - sort of, because I have 6 ethernet ports: Run each bridged (no bonds). The bridge for the one Unraid is using (primary, eth0) gets assigned to LAN and the other to WAN, in OPNSENSE. Ignore the description in my screenshots, the parts in braces describe the physical ports location/labels on my specific system/enclosure. In this axample above, I'm using one of two 10G ports and one of four 2.5G ports. In my specific setup, I'm now assigning an additional 10G port as well, but that's not necessary. So I have Unraid running one 10G port and the LAN at large running a different 10G port. But I used to have them one and the same. In the VM config, you assign the "br" bridges as two virtio devices (4 and 5 in my case, likely 1 and 2 in your case) Edited December 21, 20241 yr by Espressomatic
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.