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.

VLAN for VM Lab

Featured Replies

The more I muck around with this the more I think what I'm trying to do isn't possible.  Currently I have:

 

Unraid 6.6.7

Netgear modem passing through to an Asus wireless router/4 port switch

A pfSense VM using a passed through dual Intel NIC

 

All is working well with my Unraid, network and other linux VMs, etc.  What I'm trying to do is setup a virtual lab environment with a DC, clients, etc and I'm trying to put them on their own subnet or VLAN.

 

Now I don't have a VLAN/managed switch - maybe this is the problem and it just can't be done.  The way I read the network settings it looks like Unraid can setup its own VLANs, which can be used for VMs.  I seem to have this working for a Window VM I have ready and I can browse to the unraid web console using the address in the network settings VLAN.

 

I just can't seem to get any internet access at all through that VM.  I realise Unraid isn't a router - I guess I just don't quite understand the routing that is going on here.  I've tried creating a VLAN on the pfsense router as well but that was basically me just guessing at that stage.  I just figured because pfsense, VMs etc were all virtualised that it could be done without a managed switch.

 

I think It can be done, and you'll need to setup the pfsense VM as the core router for your LAB. But you'll definitely use the command line to setup the networking.

Create a bridge for each subnet you will need with the virsh command (I'm kinda rusty so I leave it as a homework :D)

Give the pfsense VM as many virtual network interfaces as you need +1 for the internet. This can be bridged to br0/eth0.

then hook up the VMs to the corresponding internal bridges.

  • Author
25 minutes ago, ken-ji said:

I think It can be done, and you'll need to setup the pfsense VM as the core router for your LAB. But you'll definitely use the command line to setup the networking.

Create a bridge for each subnet you will need with the virsh command (I'm kinda rusty so I leave it as a homework :D)

Give the pfsense VM as many virtual network interfaces as you need +1 for the internet. This can be bridged to br0/eth0.

then hook up the VMs to the corresponding internal bridges.

I'm so close to getting working, it's so frustrating.  I tried another way, just to test my networking setup. 

 

I used a USB Nic (yuck) passed through to pfSense and my second unused onboard NIC to setup another br1 and connected those together.  I then setup another interface along with DHCP in pfSense. 

 

The VM successfully gets an address from DHCP and I can ping the router (interface on pfSense) and the Unraid br0 address but I can't seem to get any further.

 

I'll have to look into virsh commands for networking, etc as I haven't really mucked around with that yet. 

 

EDIT: omfg, it was NAT.  What an idiot.

Edited by nug

Archived

This topic is now archived and is closed to further replies.

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.