[05:10] <tekemperor> Greetings all. I am having trouble pinging ubuntu cloud virtual machines from other machines on my network.
[05:11] <tekemperor> uvt-kvm ssh <servername> #works, but using another machine on the network and trying to ping (even by IP does not work).
[05:12] <tekemperor> I followed the guide here... https://help.ubuntu.com/lts/serverguide/cloud-images-and-uvtool.html
[05:12] <jdv> are they on the same subnet
[05:13] <tekemperor> No. Host subnet differs from virtual machines.
[05:14] <tekemperor> Can I bridge the virtual machines to get their IPs from the same DHCP server as the vm host?
[05:14] <sarnold> did your libvirt set up bridged network with your nic? or are they are on their own private bridge?
[05:16] <tekemperor> 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] <tekemperor> eth0 on host is 192.168.1.183, virbr0 is 192.168.122.1
[05:20] <jdv> 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] <tekemperor> 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] <tekemperor> The mode I am after matches the routed mode on that page.
[05:25] <jdv> what are the subnet masks
[05:26] <tekemperor> 255.255.255.0 for everything.
[05:28] <tekemperor> 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] <tekemperor> Sorry for not starting with that, been at this for a while.
[05:31] <jdv> youre half in one mode and half in the other, it seems
[05:36] <tekemperor> 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] <jdv> you need them on the same subnet
[05:41] <jdv> or you put a static route into your physical router, but I am not sure why you want to do this
[05:43] <tekemperor> 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] <jdv> yes, but you have it using 122 which is for switching mode
[05:44] <tekemperor> I did not manually create virbr0. I don't know how to change it.
[05:44] <jdv> man libvirt ?
[05:44] <jdv> it says on your link that it uses dnsmasq
[05:46] <tekemperor> All right, I think I have to do a little more reading. Thanks for your help.
[05:51] <jdv> why do you want it in routing mode
[05:52] <jdv> routed*
[05:52] <jdv> regardless I think the issue might be your dhcp config, so look at dnsmasq
[05:54] <tekemperor> Ideally the virtual machines will mimic public web virtual machines.
[05:54] <tekemperor> I'm trying to create that locally.
[05:55] <cryptodan_laptop> tekemperor: hav you tried using bridged mode?
[05:55] <tekemperor> cryptodan_laptop: I have tried, but I must be doing something wrong.
[05:56] <cryptodan_laptop> bridged mode would allow virtual box the ability to connect directly to your router for a dhcp ip address
[05:56] <tekemperor> jdv: thanks for your help. I will look into dnsmasq if I cannot figure out how to fix virbr0.
[05:57] <tekemperor> cryptodan_laptop: how can I set that up?
[05:57] <cryptodan_laptop> tekemperor: via the network settings in virtualbox
[05:57] <tekemperor> cryptodan_laptop: I am using uvt-kvm, not virtualbox.
[05:59] <cryptodan_laptop> have a read here http://manpages.ubuntu.com/manpages/trusty/man1/uvt-kvm.1.html
[06:01] <tekemperor> So that is the last thing I tried... "virsh iface-bridge eth0 br0; uvt-kvm create testbox --bridge br0"
[06:01] <tekemperor> uvt-kvm: error: libvirt domain 'testbox' has no NIC MACs available.
[06:05] <tekemperor> 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] <tekemperor> Thanks everyone, I think that will solve my problem.
[06:57] <tekemperor> 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] <jdv> interesting. what setup did you end up with
[07:02] <tekemperor> 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] <tekemperor> only br0 has a valid IP address.
[16:59] <speedy> hi everone
[18:04] <speedy> hi everone
[18:07] <pmatulis> hello
[18:16] <speedy> hi
[18:16] <speedy> * hugs pmatulis ... so lonely in here!!
[18:17] <speedy> hi hi
[18:17] <speedy> PryMar56,