June 24, 20215 yr How can create isolated network for VM? I have two VM which should be same network, but no access to internet or main network? Should this be done in Unraid or router?
June 24, 20215 yr I would have thought you could do this by setting each VM to use Bridged networking, and then giving them static IP addresses on their own subnet and with no gateway so they cannot navigate to other subnets. Must admit I have not tried it but I would think it would work?
June 25, 20215 yr Author Still not sure how to this? I have bridging enabled in Network Setting. In VM I can select br0 or virbr0. Can't see where to set IP. Idea is to get two VM's to talk each other but they have no access to internet or other networks. eg. If I can assign VM's to VLAN(created in route) I could make firewall rules to make isolated network.
June 25, 20215 yr 32 minutes ago, SamiM said: Still not sure how to this? I have bridging enabled in Network Setting. In VM I can select br0 or virbr0. Can't see where to set IP. in a VM you're setting the IP inside the VM, I think Quote Idea is to get two VM's to talk each other but they have no access to internet or other networks. eg. If I can assign VM's to VLAN(created in route) I could make firewall rules to make isolated network. Yes, that is the normal way of doing it. You also can install a second physical NIC, with no connection to an external Switch/Router, create a separate Bridge in unRaid (br1 then) and attach VMs to this Bridge. Edit: maybe you can as well create another virbr1 in unRaid, but I never tried. Edit2: yes, look here: Edited June 25, 20215 yr by Ford Prefect
June 25, 20215 yr Author I got it... Create VLAN(107) in route and then Unraid Network Settings -> Enable VLAN. Set VLAN by giving same vlan number(107) than route has. Now in VM I selected Network Bridge: br0.107 Pretty simple after all.
Archived
This topic is now archived and is closed to further replies.