Hello, Felix Wu <f...@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