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.

请教各位大神 请问怎么在Unraid里面设置虚拟端口组?

Featured Replies

想在Unraid里面加pfSense,但是网口不够,需要使用虚拟的端口组,请教会的大神是否可以详细的说说。

我查过论坛的资料,无奈网络知识实在匮乏,无法理解他们说的,参考连接如下,请哪位大神指导一下。

1. 

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

 

2. 

You need to create the xml files for your new networks in /etc/libvirt/qemu/networks.  You can use the default.xml as a template and the following link to help point you in the right direction.  https://libvirt.org/formatnetwork.html

 

Once you have your new network xml file created and saved in /etc/libvirt/qemu/networks, you can use the virsh command while logged into the console via SSH to create, start and make the network persistent.  There is no need to mess with the go script.

 

Assuming you named your xml file "newnetwork.xml" and defined the name in the xml as "newnetwork", while logged in via SSH, run the following commands.

 

1.  Permanently add your new network

 

virsh net-define /etc/libvirt/qemu/networks/newnetwork.xml

 

2.  Start your new network

 

virsh net-create /etc/libvirt/qemu/networks/newnetwork.xml

 

3.  Enable Autostart for your new network

 

virsh net-autostart newnetwork

 

4.  Check to make sure your network is started and persistent

 

virsh net-list

 

You should see your new network listed as Active, with Autostart and Persistent set to Yes.  Like I said earlier this is enough to make your networks survive a reboot and autostart.  No need to touch the "go" script.  Hope this helps.

 

非常感谢

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.