In0cenT Posted June 26, 2016 Share Posted June 26, 2016 Hello I'm running a ubuntu server vm and struggeling setting static IP on the server. First of all I'm sorry that I'm using screens to show you my current settings, as I cant just copy them out of VNC... This is my static ip config: This is the result after restarting the network, without any errors: How do I do this properly? Thanks Quote Link to comment
JonathanM Posted June 26, 2016 Share Posted June 26, 2016 I'm running a ubuntu server vm and struggeling setting static IP on the server. Looks like you either didn't set up the VM bridge on the host, or forgot to tell the VM to use it when you set it up. Which tutorial did you follow to set up a VM? Quote Link to comment
In0cenT Posted June 27, 2016 Author Share Posted June 27, 2016 Thanks for your help, I ll try to add more information which might lead to my problem. My VM XML: http://pastebin.com/a6pZjSmN My newtork bridge: vibr0 I honestly didnt use any tutorial and used my knowladge I had from setting up VMs on VMWare, is it that different here? Cheers Quote Link to comment
JonathanM Posted June 27, 2016 Share Posted June 27, 2016 My newtork bridge: vibr0 There's your problem. Stop the array, and go to Settings, Network Settings, and Setup Bridge = Yes. Then start the array back up, go to your VM settings, and choose the bridge you just defined instead of the built in private bridge. Quote Link to comment
In0cenT Posted June 27, 2016 Author Share Posted June 27, 2016 Cheers man, working perfectly now! Would you mind explaining what exactly makes the difference so it works now? Quote Link to comment
Hoopster Posted June 27, 2016 Share Posted June 27, 2016 Cheers man, working perfectly now! Would you mind explaining what exactly makes the difference so it works now? From the unRAID VM Configuration Guide (http://lime-technology.com/wiki/index.php/UnRAID_6/VM_Management#Using_Virtual_Machines): Configure a Network Bridge There are two methods by which your virtual machines can get access to host-based networking: through a private NAT bridge managed by libvirt or through a public bridge managed by unRAID directly. The private bridge (virbr0) is automatically configured when libvirt starts. The public bridge (br0) can be created through the Network Settings page on the unRAID webGui. The private bridge generates an internal DHCP server/address pool to create IPs for VMs automatically, but the VMs will be on a subnet that cannot be accessed by other devices or even other services on unRAID. This type of bridge is ideal if you want your VM to be completely isolated from all other network services except internet access and the host's network file sharing protocols. VM management can be performed through a VNC session provided by the browser. The public bridge provides VMs with an IP address from your router, but internally bridges communications between VMs and each other, as well the host. This type of bridge is ideal if you want your VMs to act just like another device on your network, where you manage it's network access at the LAN-router instead of inside the VM. We persist MAC address settings for the virtual interfaces you create, ensuring the VMs should get the same IP address each time they connect, as long as your router-managed DHCP pool doesn't run out of addresses. So if you want to connect to your VM from another PC, laptop, tablet, or other type of device, you should use the public bridge. Whichever bridge you prefer can be defined as the Default Network Bridge on the VM Settings page. 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.