From: Samuel Thibault <samuel.thibault@gnu.org>
To: Lukas Straub <lukasstraub2@web.de>
Cc: Felix Wu <flwu@google.com>,
qemu-devel@nongnu.org, Jason Wang <jasowang@redhat.com>
Subject: Re: Tips for local testing guestfwd
Date: Mon, 26 Jun 2023 12:08:19 +0200 [thread overview]
Message-ID: <20230626100819.vtkuuvzg376hktk2@begin> (raw)
In-Reply-To: <20230626114916.45355529@mobian.usb.local>
Hello,
Felix Wu <flwu@google.com> wrote:
> 2. I want to understand what ip I should use. Currently I have following
> formats for the QEMU invocation in ipv6:
> ```
> guestfwd=tcp:[::1]:1234-tcp:[my:host:ip:from:ifconfig]:22
> ```
> I know the general form is `guestfwd=tcp:server:port-dev`, where
> server:port is for guest,
Yes, the address to be used within the guest network. So it needs to be
within the guest network.
> Is the aforementioned invocation correct?
No, because ::1 isn't in the guest network.
> Or in this case [::1] is the local host address and I should put qemu
> address for it instead?
You can use whatever IP you want, as long as it's in the guest network.
e.g. [fec0::1234] if you're with the default fec0::/64 network.
> 3. Is there a default ipv6 address for QEMU instance? I think I need it in
> the invocation.
By default it's address 2 within the prefix, i.e. fec0::2 with the
default fec0::/64 network.
Samuel
next prev parent reply other threads:[~2023-06-26 10:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-26 5:58 Tips for local testing guestfwd Felix Wu
2023-06-26 9:49 ` Lukas Straub
2023-06-26 10:08 ` Samuel Thibault [this message]
2023-07-19 1:12 ` Felix Wu
2023-07-20 14:54 ` Samuel Thibault
2023-08-17 18:58 ` Felix Wu
2023-08-23 17:27 ` Felix Wu
2023-09-06 20:53 ` Felix Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230626100819.vtkuuvzg376hktk2@begin \
--to=samuel.thibault@gnu.org \
--cc=flwu@google.com \
--cc=jasowang@redhat.com \
--cc=lukasstraub2@web.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).