uek2wooF Posted January 23, 2020 Share Posted January 23, 2020 How can I pass both br0 and virbr0 (or other private net) to a VM? Where do I add additional private nets? Thanks! Quote Link to comment
Digital Posted January 23, 2020 Share Posted January 23, 2020 First point you can modify your private network on settings and after network settings. For your VM you can modify that on the settings from the VM. Quote Link to comment
uek2wooF Posted January 23, 2020 Author Share Posted January 23, 2020 In network settings I don't see any way to add virtual networks. I even disabed docker and VMs to get it to allow edits. I do see now where to add nets in the VM though. Thanks. Quote Link to comment
uek2wooF Posted January 24, 2020 Author Share Posted January 24, 2020 I can only have br0 or virbr0 for the pfsense VM. If I try to use both only the first one is seen. Quote Link to comment
uek2wooF Posted January 24, 2020 Author Share Posted January 24, 2020 I randomly modified the xml and got them both through to pfsense. I changed bus and function on the second one to 0x01 and 0x1. The multifunction part got added automatically I think when I did that. If only I could find the docs on the xml so I didn't have to guess all the time. <interface type='bridge'> <mac address='66:66:00:de:ad:b2'/> <source bridge='virbr0'/> <target dev='vnet0'/> <model type='vmxnet3'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/> </interface> <interface type='bridge'> <mac address='66:66:00:de:ad:d5'/> <source bridge='br0'/> <target dev='vnet1'/> <model type='vmxnet3'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </interface> And I found a 2015 forum post on how to get multiple persistent virtual nets. Haven't tried it out yet: Quote Link to comment
uek2wooF Posted January 24, 2020 Author Share Posted January 24, 2020 Still not there, now they randomly come up as vmx0 or vmx1 each boot. No way to distinguish them. Quote Link to comment
itimpi Posted January 24, 2020 Share Posted January 24, 2020 23 minutes ago, uek2wooF said: If only I could find the docs on the xml so I didn't have to guess all the time. The standard Libvirt XML Format applies. Quote Link to comment
uek2wooF Posted January 24, 2020 Author Share Posted January 24, 2020 I just had them mixed up. I don't think it is switching them. All good now thanks. Not sure why everything is so hard though. Am I really the first person to bridge networks to pfsense? Passing through a 4-port intel nic was a nightmare also. Easy on linux though. Quote Link to comment
L0rdRaiden Posted April 4, 2020 Share Posted April 4, 2020 On 1/24/2020 at 5:34 PM, uek2wooF said: I just had them mixed up. I don't think it is switching them. All good now thanks. Not sure why everything is so hard though. Am I really the first person to bridge networks to pfsense? Passing through a 4-port intel nic was a nightmare also. Easy on linux though. Could you please copy paste your XML configuration? Maybe a screen shot of the confing, not XML would help me as well, thanks Quote Link to comment
uek2wooF Posted April 5, 2020 Author Share Posted April 5, 2020 Sorry for the delay, just saw your reply. pfsenseVM.xml Quote Link to comment
Recommended Posts
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.