Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] How to create a virtual nic for internal/isolated use only?

Featured Replies

2 minutes ago, ken-ji said:

You can try making a request to Limetech, but you'll need to know what you need exactly (I'm not sure either)

 

Ok thanks for your help :) in the meantime I will see if I find an alternative

  • 2 years later...
On 3/28/2019 at 12:11 AM, ken-ji said:

You just need to create (and persist) a bridge device for your VMs to use.

create a xml file (ie /tmp/lab-network.xml)

<network ipv6='yes'>
  <name>lab-network</name>
  <bridge name="virbr1" stp="on" delay="0"/>
</network>

Then you enable the network with

virsh net-define /tmp/lab-network.xml

virsh net-start lab-network

 

This will create a bridge virbr1, which you can assign to your VMs.

There will be a host interface virbr1-nic (but will not be assigned an IP or any such automatically)

 

refer to https://libvirt.org/formatnetwork.html for more details on the xml file format

I read the entire thread but just to be sure before breaking everything.

I have a FW running in a VM, I have VMs and I have docker. All in Unraid

 

I want to create a "virtual NIC" attach it as a interface to the FW VM, and have it available to docker and other VMs. As far as I understood this is possible with the explanations given. Right?

One concern is the speed of the interface, currently I'm using 10gb nics, but this would liberate some of them for other purposes. So I guess the virtual nic will consume CPU, not a problem, but is there a way to know what would be the expected performance? how the new virtual adapters will appear in the VM's? as 1000 Mbps, full duplex? 10000? is there a way to configure this? is there any other configuration with better performance? I don't see anything related to this here https://libvirt.org/formatnetwork.html

 

Thanks

Edited by L0rdRaiden

I made a diagram because what I want to achieve is more complex than I thought

 

imagen.thumb.png.d61b9462b2472231a97c1031d57c7b31.png

 

Is this even possible with unraid? a virtual switch with vlans? what would be the expected performance?

 

This is the firewall HA arq

HAPacketFlow.png.4dad388be610290d90287b92c0732334.png

Edited by L0rdRaiden

I think this draw is more clear

imagen.thumb.png.9f651fed34167c04ce7f11f146215a5b.png

 

In this case the containers inside the docker bridge network would be visible to the firewall?

Or docker bridge mode will NAT everything?

I mean if a container in docker 0 communicate with a container in docker 1, what source an dest IP will I see in the firewall?

  • 2 weeks later...

Have you had any luck with this? I've been trying to get something similar up and running.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.