[SOLVED] Dedicate a NIC to a VM?


rmp5s

Recommended Posts

I have a VM that I'm using to run my security cameras.  My server has 4 NICs on it.  I want to dedicate a NIC to that VM as it's a segregated LAN...I don't want it to have any Internet access.  I want it to just be local.

 

But I'd like to use the other NICs to access the server so I can view the VM, make new shares, etc.

 

What's the best way to do this?

Edited by rmp5s
Link to comment

Nevermind.  Lots of trial and error later, I got it working.

 

I had to shutdown VMs and Docker, then go to Settings -> Networking and turn off bridging and bonding.  Then I configured the NICs the way I wanted them, turned VMs and Docker back on, edited the VM and made sure the VM was assigned the right bridge, br1 in my case.

 

It makes sense when you get in there and start messing with stuff.  

  • Like 1
Link to comment
  • 2 years later...

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.