Christian H. Kuhn wrote:
>
>> - It wouldn't quite solve your problem, as you would still need to make 
>> sure that packets sent to the host's eth0 on 1.2.5.3 are forwarded to 
>> the machine 192.168.2.2 (or whatever you have set up the guest as). I'm 
>> not sure how you do this in linux, but it should be possible I think.
>>     
>
> That's a simple NAT with the help of iptables. The main difference is
> that 192.168.2.2 would not be routed to and from the internet, so you
> have to translate the private 192.168.2.2 to the public 1.2.5.3 IP and
> keep track of the translated connections. Really no problem.
>
> But that solves not the main problem. From host OS, i can reach the
> guest OS by ping, but how do i get inside?
>   
The way I did it was:

- with uml stopped, chroot into the uml machine's filesystem, set up 
apt, and install ssh.
- start uml with networking, and ssh to the relevant address.

This is working fine for me.

andy

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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