=== zz_DenBeiren is now known as DenBeiren === dmsimard_ is now known as dmsimard === zz_DenBeiren is now known as DenBeiren === veebull is now known as veebull_away [05:10] Greetings all. I am having trouble pinging ubuntu cloud virtual machines from other machines on my network. [05:11] uvt-kvm ssh #works, but using another machine on the network and trying to ping (even by IP does not work). [05:12] I followed the guide here... https://help.ubuntu.com/lts/serverguide/cloud-images-and-uvtool.html [05:12] are they on the same subnet [05:13] No. Host subnet differs from virtual machines. [05:14] Can I bridge the virtual machines to get their IPs from the same DHCP server as the vm host? [05:14] did your libvirt set up bridged network with your nic? or are they are on their own private bridge? [05:16] sarnold: I did no manual bridge configuration for this, I am not sure how to answer your question. Is there a command I can give you out put from to answer your question? [05:18] eth0 on host is 192.168.1.183, virbr0 is 192.168.122.1 [05:20] unless I am misunderstanding you, you should not expect them to be able to see one another until you either add a router or a bridge to allow it. [05:21] jdv, that is correct. I do not know how to create that bridge. The instructions I found on http://wiki.libvirt.org/page/VirtualNetworking showed how to do it with a gui, but I have no gui. [05:22] The mode I am after matches the routed mode on that page. [05:25] what are the subnet masks [05:26] 255.255.255.0 for everything. [05:28] The physical setup is one router (handles dhcp) and two physical machines. The server with the virtual machines, and my desktop. 192.168.1.1 is the router and all physical machines get their IPs from that. Ideally the virtual machines will behave like additional machines on the network. [05:29] Sorry for not starting with that, been at this for a while. [05:31] youre half in one mode and half in the other, it seems [05:36] Yeah. I'm okay completely wiping the virtual machines and starting over, I just can't find a guide that allows me to set up the libvirt routing mode from the command line with external dhcp. [05:40] you need them on the same subnet [05:41] or you put a static route into your physical router, but I am not sure why you want to do this [05:43] I would rather not modify the physical network. I think I need to make virbr0 use 192.168.1.X where X is defined from my router (or outside of its DHCP range). [05:43] yes, but you have it using 122 which is for switching mode [05:44] I did not manually create virbr0. I don't know how to change it. [05:44] man libvirt ? [05:44] it says on your link that it uses dnsmasq [05:46] All right, I think I have to do a little more reading. Thanks for your help. [05:51] why do you want it in routing mode [05:52] routed* [05:52] regardless I think the issue might be your dhcp config, so look at dnsmasq [05:54] Ideally the virtual machines will mimic public web virtual machines. [05:54] I'm trying to create that locally. [05:55] tekemperor: hav you tried using bridged mode? [05:55] cryptodan_laptop: I have tried, but I must be doing something wrong. [05:56] bridged mode would allow virtual box the ability to connect directly to your router for a dhcp ip address [05:56] jdv: thanks for your help. I will look into dnsmasq if I cannot figure out how to fix virbr0. [05:57] cryptodan_laptop: how can I set that up? [05:57] tekemperor: via the network settings in virtualbox [05:57] cryptodan_laptop: I am using uvt-kvm, not virtualbox. [05:59] have a read here http://manpages.ubuntu.com/manpages/trusty/man1/uvt-kvm.1.html [06:01] So that is the last thing I tried... "virsh iface-bridge eth0 br0; uvt-kvm create testbox --bridge br0" [06:01] uvt-kvm: error: libvirt domain 'testbox' has no NIC MACs available. [06:05] Oh, I just found something I overlooked before... "--template" I think that will allow me to use the stuff here... https://libvirt.org/formatnetwork.html [06:06] Thanks everyone, I think that will solve my problem. [06:57] Problem resolved, can ping my VMs externally. Thanks again for the assistance. If anyone is curious, uvt-kvm {ssh|wait} breaks on bridged connections. See "https://bugs.launchpad.net/uvtools/+bug/1408596". Wish I found that earlier. [06:58] interesting. what setup did you end up with [07:02] It is a bridged connection, the DHCP comes from the router. I used "virsh iface-bridge eth0 br0" to create the bridge, and appended "--bridge br0" to uvt-kvm create. Did not have to do any manual network configuration, but I have a vnet0 now in addition to the virbr0 I had before. [07:03] only br0 has a valid IP address. === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === bradm_ is now known as bradm === Lcawte is now known as Lcawte|Away === markthomas|away is now known as markthomas === markthomas is now known as markthomas|away === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte [16:59] hi everone === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte [18:04] hi everone [18:07] hello [18:16] hi [18:16] * hugs pmatulis ... so lonely in here!! [18:17] hi hi [18:17] PryMar56, === Lcawte is now known as Lcawte|Away