June 9, 20251 yr Trying to play around with some VMs and I'd like to create a group of VMs on their own network w/ static IP addresses. I've created a VLAN in the network settings page:I can assign this bridge network to the VM, manually configure an IP address (in this case 192.168.101.2) and gateway (192.168.1.1) but I still don't have internet connectivity. What am I doing wrong?
June 10, 20251 yr Author Reading further in the docs I now realize that maybe my idea of having multiple virtual private bridge networks isn't possible? It says the virb0 network is created with libvirt but doesn't give instructions on adding another one (with either static IPs or using an internal unraid dhcp server?)
June 10, 20251 yr Author Using the above settings I can ping unraid on both 192.168.1.10 (my default IP) and 192.168.101.1 (the vlan IP) but I can't get any internet connectivity through my gateway (192.168.1.1) Should there be another rule added to the unraid routing table?
June 10, 20251 yr Community Expert 21 hours ago, Fffrank said:Trying to play around with some VMs and I'd like to create a group of VMs on their own network w/ static IP addresses. I've created a VLAN in the network settings page:I can assign this bridge network to the VM, manually configure an IP address (in this case 192.168.101.2) and gateway (192.168.1.1) but I still don't have internet connectivity. What am I doing wrong?The gateway is not in the subnet. You need a router between them. This is not an Unraid configuration would need to be a VM or physical device to link the two networks.
June 10, 20251 yr Author 3 minutes ago, SimonF said:The gateway is not in the subnet. You need a router between them. This is not an Unraid configuration would need to be a VM or physical device to link the two networks.So it's not possible to have two different isolated networks for VMs to live on without external routing?
June 11, 20251 yr Author I spun up an OpenWRT VM and was able to route my two subnets correctly through the virtual NICs. Thanks!
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.