pass br0 and virbr0 both to VM?


Recommended Posts

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: 

 

 

Link to comment
  • 2 months later...
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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.