**SOLVED** VLAN Help?


Recommended Posts

So I'm trying to sort a networking issue that I am having.

 

Basic working network setup

  • Opnsense - main firewall  (it is a fork of pfsense)
  • 2 unifi switches set to pass along all VLAN tags on all ports.
  • A couple of access points.
  • LAN
  • 1 VLAN for IOT devices.

 

The issue I am running into is that I want one of my Ubuntu VM's on the IOT VLAN. Before I make any changes to interfaces file I have internet and can ping both LAN and VLAN as per my firewall rules. When I make my changes to interfaces file to change the IP address to the VLAN subnet reboot the VM.......and boom nothing no internet and can't ping anything.  So I tried to change my subnet on a windows VM and had the same problem.

 

So my question is this because this is a VM on unraid is there an additional step needed to change the subnet of VM's?

Edited by swingline
Link to comment
6 hours ago, bonienl said:

When you create a VLAN, it basically is a different network and your router/firewall needs to be set up correctly to let this network talk to your original network and the Internet.

 

The VLAN is already existing on the firewall and has been working for about 2 years (should have mentioned that). The problem comes when I want to add VM's running on my unraid to the VLAN subnet.

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.