<div dir="ltr">Well I'm making some progress now. Chased a bunch of red herrings before I found a solution but it was worth it. If you're interested, there's a decent guide at <a href="http://wiki.libvirt.org/page/Networking">http://wiki.libvirt.org/page/Networking</a> , although much of what I ended up doing was cobbled together from various sources.<br><br>First off, to do a sort of cleaning I got rid of the existing VIRBR0 (with the troublesome 192.168.122.x address) on the host machine using:<div><br></div><div><span style="color:rgb(17,17,17);font-family:Consolas,'Andale Mono',Monaco,Courier,'Courier New',Verdana,sans-serif;font-size:11.9980001449585px;line-height:17.9969997406006px;background-color:rgb(238,238,238)"># virsh net-destroy default</span><br style="padding:0px;margin:0px;color:rgb(17,17,17);font-family:Consolas,'Andale Mono',Monaco,Courier,'Courier New',Verdana,sans-serif;font-size:11.9980001449585px;line-height:17.9969997406006px"><span style="color:rgb(17,17,17);font-family:Consolas,'Andale Mono',Monaco,Courier,'Courier New',Verdana,sans-serif;font-size:11.9980001449585px;line-height:17.9969997406006px;background-color:rgb(238,238,238)"># virsh net-undefine default</span><br style="padding:0px;margin:0px;color:rgb(17,17,17);font-family:Consolas,'Andale Mono',Monaco,Courier,'Courier New',Verdana,sans-serif;font-size:11.9980001449585px;line-height:17.9969997406006px"><span style="color:rgb(17,17,17);font-family:Consolas,'Andale Mono',Monaco,Courier,'Courier New',Verdana,sans-serif;font-size:11.9980001449585px;line-height:17.9969997406006px;background-color:rgb(238,238,238)"># service libvirtd restart</span><br></div><div><br></div><div>Then I created a new VIRBR1 with an address in the right subnet (10.x.x.x) .</div><div><br></div><div>Next, I deleted the VM that never worked right and started over. Creating a new VM (Ubuntu 14.04 Desktop) using Virtual Machine Manager has gotten ridiculously easy. Similar to vShDuring the new VM creation process, if you go to Advanced settings you can specify VIRBR1 as the bridge. Sorry, but I don't recall if I specified the second NIC card anywhere. I will check next time.</div><div><br></div><div>If I must have something to complain about, it's that VMM could give us a bit more granular control over how the VM is configured, but the system works as is.</div><div><br></div><div>Once the new VM was created, it took a minute to find the internet but as soon as it did the Software Update ran out and found updates to install. I could browse the internet right away.</div><div><br></div><div>From there it was just a matter of setting the machine up on DynDNS.com, installing OpenSSH, VNC server, etc., setting up Port Forwarding on the router, etc.</div><div><br></div><div>So at this point, I can SSH to the VM from a remote location. This is a good milestone.</div><div><br></div><div>However, VNC is still giving me some grief. If I try to log in remotely using TightVNC (from a Windows client), I get the error "Error in TightVNC Viewer: No security types supported. Server sent security types, but we do not support any of their". This is strange as the same TightVNC configuration works on other Ubuntu boxes at home. In fact, I did much of the above goofiness over a TightVNC connection to an existing Ubuntu desktop with similar configuration. Most of the results I found in Google say to disable encryption but that's not in my plans. If I get past this issue I'll let you know.</div><div><br></div><div><br></div></div><br><div class="gmail_quote">On Fri Feb 06 2015 at 3:17:25 PM Nick Guenther <<a href="mailto:nguenthe@uwaterloo.ca">nguenthe@uwaterloo.ca</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Tell us if it turns out you need to turn on IP routing! If your box is handling two interfaces already and the VM interface is just appearing as a third, you might not need that afterall. Good luck.<br><br><div class="gmail_quote"></div></div><div><div class="gmail_quote">On February 6, 2015 3:08:05 PM EST, CrankyOldBugger <<a href="mailto:crankyoldbugger@gmail.com" target="_blank">crankyoldbugger@gmail.com</a>> wrote:</div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Well I was puzzled by why virbr0 picked 192.x.x.x when there were two NICs on that box box on 10.x.x.x. I assumed that there was some deep reason behind that which was beyond my understanding.. I could try changing virbr0 tonight and see what happens.<br></div><br></blockquote></div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote">On Fri Feb 06 2015 at 3:05:17 PM Nick Guenther <<a href="mailto:nguenthe@uwaterloo.ca" target="_blank">nguenthe@uwaterloo.ca</a>> wrote:<br></div></blockquote></div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Also to diagnose the last problem--which is not IP related-- run ssh -vv. It sounds like you're offering a pubkey and it's rejecting it, and this will show you which. I believe openssh by default falls back to asking for passwords in this case, but maybe your client config or the VM config is denying that. <br><br><div class="gmail_quote"></div></div></blockquote></div></blockquote></div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_quote">On February 6, 2015 2:51:19 PM EST, CrankyOl!
dBugger
<<a href="mailto:crankyoldbugger@gmail.com" target="_blank">crankyoldbugger@gmail.com</a>> wrote:</div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I finally returned to the idea of building some VMs on my home network on an Ubuntu server. I found uvt-kvm to be a stupid-easy way to actually make the VMs (in this case, a straightforward Ubuntu 14.04 Desktop install).<div><br></div><div>The VM is running fine when I view it in Virtual Machine Manager from a separate desktop client (connect to the host, then open the VM from the list). I've set up port forwarding on my router, installed SSH on the VM, made sure it's running, installed a ddclient and set up the machine name on <a href="http://dyn.com" target="_blank">dyn.com</a>, generally everything I've done on other physical Ubuntu machines.</div><div><br></div><div>However, when I try to connect remotely via SSH, I get "Error in TightVNC Viewer: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to
respond."</div><div><br></div><div>I get this error when I'm outside my network. From within the network, I get "no route to host" if I use "ssh <a href="mailto:jeff@192.168.122.15" target="_blank">jeff@192.168.122.15</a>". </div><div><br></div><div>Note that my network runs on the 10.x.x.x subnet. The 192.168.122.x came from virbr0 on the physical host box.</div><div><br></div><div>If I try to ssh from the physical host to the VM, I get "Permission denied (publickey)" before it even asks me to login.</div><div><br></div><div>So I seem to be missing a hop somewhere from my router to the virtual machine. Does anyone have any ideas on how to make the connection?</div><div><br></div></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></blockquote></div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre><hr><br>kwlug-disc mailing list<br><a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br><a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br></pre></blockquote></div></div><div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></blockquote></div></blockquote></div></div><div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></blockquote></div>