[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network connection of a qemu guest.



Nate,

Thanks for the reply.

    From: Nate Bargmann <n0nb@n0nb.us>
    Date: Wed, 10 Mar 2021 19:43:58 -0600
> I rely on the Qemu system to setup the IP address from the 10.x.x.x
> block but that seems only to be accessible from inside the VM:

So, for example, the host might set 10.3.3.1 on its interface to the 
guest? The same address after rebooting the guest?  Rebooting the 
host?

Then in the guest system you can configure 10.3.3.2?  So the guest is 
on the 10.3.3.x subnet?

> Host buster
>     HostName localhost
>     Port 2222
>     user "user"
>     IdentityFile /home/"user"/.ssh/id_buster
> 
> Then a simple 'ssh buster' allows me to SSH from the host the VM is
> running on.

> Hopefully this can help you get started so you can make it 
> accessible from hosts on your LAN if that is what you're looking to 
> do.

Will be happy with telnet or ssh or ftp from the guest to the host. (I 
know telnet and ftp aren't secure but all is within one machine which 
runs shorewall.)  No other machine is involved, for now at least.

Thanks again,                        ... P.




-- 
cell: +1 236 464 1479            Bcc: peter at easthope. ca
VoIP: +1 604 670 0140


Reply to: