Geert Uytterhoeven <ge...@linux-m68k.org> wrote:
[..]
> On Mon, 19 Apr 2010, Mark Longair wrote:
[..]
>> This appears to set up the redirections correctly, since I see the
>> following output (with some whitespace edited for readability):
>>
>>    [..]
>>    Setting up networking....
>>    Configuring network interfaces...
>>    Slirp v1.0.17 (BETA) FULL_BOLT
>>    Copyright (c) 1995,1996 Danny Gasparovski and others.
>>    All rights reserved.
>>    This program is copyrighted, free software.
>>    Please read the file COPYRIGHT that came with the Slirp
>>    package for the terms and conditions of the copyright.
>>    Logging statistics
>>    Redirecting TCP port 8042 to 10.0.2.15:80
>>    Redirecting TCP port 2242 to 10.0.2.15:22
>>    IP address of Slirp host: 127.0.1.1
>                                ^^^^^^^^^
> I noticed this is different: on the working CentOS setup, it shows the 
> external
> (eth0) address of the host. On the failing setups, it shows a localhost 
> address.
> You can see this even without running UML: just run slirp on the command line.
> Interestingly, I tried this on an Ubuntu machine at work (9.10, I
> think), and there it
> did show the external IP address. So it's probably related to the
> presence of some
> additional package. But which one?
>
> Then I discovered you can tell slirp which host address to use using the
> `host addr a.b.c.d' option. And after that, redir works again
> for me!
[..]

Geert,

Thank you very much for this suggestion - using the IP of the
host's ethernet interface instead works for me as well.

This is an unfortunate slirp bug, however, since it's a (small)
irritation to have to pick an external interface and ultimately
I only want slirp to listen on localhost.  (Doing that requires
a small patch to slirp anyway, which by default listens on
0.0.0.0.)

I'll try to report the bug.

many thanks,
mark

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to