VLANs :-(


Recommended Posts

Hi folks.

I'm trying to understand the correct way to utilize VLANs on UNRAID.

My scenario - I want to create an Active Directory Domain test environment, seperated on a different VLAN than the rest of my network, so I can practice on DHCP as well.

The servers on the test VLAN need to have access to the internet (at least in the beginning).

Enabled VLANs and added a VLAN using static IP assignment (see attached screenshot), installed a VM on the 192.168.2.0/24 VLAN and assigned it a static IP address manually.

The problem I'm having is that the VM can easily connect to the unRAID server (using the IP I've assigned the VLAN interface, 192.168.2.1) but can't connect to the WWW (pinging 8.8.8.8 fails).

What am I missing?

Do my switch must support VLANs, or are the VLANs been managed in a vSwitch inside the KVM visor?

Hope my question makes sense O.o

Network.png

Link to comment
2 hours ago, gshlomi said:

Hi folks.

I'm trying to understand the correct way to utilize VLANs on UNRAID.

My scenario - I want to create an Active Directory Domain test environment, seperated on a different VLAN than the rest of my network, so I can practice on DHCP as well.

The servers on the test VLAN need to have access to the internet (at least in the beginning).

Enabled VLANs and added a VLAN using static IP assignment (see attached screenshot), installed a VM on the 192.168.2.0/24 VLAN and assigned it a static IP address manually.

The problem I'm having is that the VM can easily connect to the unRAID server (using the IP I've assigned the VLAN interface, 192.168.2.1) but can't connect to the WWW (pinging 8.8.8.8 fails).

What am I missing?

Do my switch must support VLANs, or are the VLANs been managed in a vSwitch inside the KVM visor?

Hope my question makes sense O.o

Network.png

 

Yes your switch must support VLANs (trunking). Your second connection needs a gateway to the outside world, hence your router needs to understand VLANs too and must have a separate connection configured.

.

 

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.