swingline Posted February 18, 2019 Share Posted February 18, 2019 (edited) 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 February 19, 2019 by swingline Quote Link to comment
bonienl Posted February 18, 2019 Share Posted February 18, 2019 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. Quote Link to comment
swingline Posted February 18, 2019 Author Share Posted February 18, 2019 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. Quote Link to comment
ken-ji Posted February 18, 2019 Share Posted February 18, 2019 Did you create a VLAN interface in Unraid? Then assign the VLAN interface to your VM (Network Bridge option)? Quote Link to comment
swingline Posted February 19, 2019 Author Share Posted February 19, 2019 3 hours ago, ken-ji said: Did you create a VLAN interface in Unraid? Then assign the VLAN interface to your VM (Network Bridge option)? I guess I missed this option when I looked before posting. Everything is working now as it should be. Thanks for the help. Quote Link to comment
Recommended Posts
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.