Access host from QEMU guest
Efraim Flashner
efraim at flashner.co.il
Sun May 17 14:59:45 IDT 2020
On Sun, May 17, 2020 at 12:57:42PM +0300, Lev Olshvang wrote:
> I read once that QEMU linux guest has reserved IP of the host.
>
> I did not bookmarked it, can anyone help?
>
> Thanks
>
> Just share reference
> https://www.cnx-software.com/2011/10/02/how-to-transfer-files-between-host-and-qemu-via-ssh-and-nfs/
>
I normally make sure to forward at least one port to the guest. I happen
to have the following code snippet. It says hurd but it should still
hold true.
("/hurd/pfinet" "--interface" "eth0"
"--address" "10.0.2.15" ;the default QEMU guest IP
"--netmask" "255.255.255.0"
"--gateway" "10.0.2.2"
"--ipv6" "/servers/socket/16")
--
Efraim Flashner <efraim at flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20200517/77ef4e28/signature.asc>
More information about the Linux-il
mailing list