-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you use IP addresses on the same subnet for each UML session, no port
forwarding would be necessary.
What you do is, on the host set up a tun device specific to each
instance of UML. Like so: brctl addbr br0 (to add the bridge), brctl
addif br0 <tun interface> (i.e. "tun0" for instance 1, "tun1" for
instance 2, etc) Bring them up with a 0.0.0.0 IP address.
e.g. ifconfig tun0 0.0.0.0 promisc up
You'll have yourself a virtual net then. When you bring up your UML
instances, add the following to the argument list:
eth0=tuntap,<tun interface>
Replacing <tun interface> with the interface for the UML in question.
After that, it's just like a normal machine with it's very own port on a
bridge. The host would have an IP of it's own, and you would direct all
VNC traffic to that IP just as you would if you had brought a new
machine onto the network.
Hope that helps.
- --Dan Lund
[Automated Quote]Wow, Can you believe Blaisorblade said this[/Automated
Quote] on 02/22/05 13:45:
| I'm forwarding this to the list as I've no time to answer, sorry.
|
| ---------- Forwarded Message ----------
|
| Subject: RE: [uml-devel] UML remote GUI problems
| Date: Wednesday 16 February 2005 20:12
| From: Greg Furlong <[EMAIL PROTECTED]>
| To: Blaisorblade <[EMAIL PROTECTED]>
|
| Hey
|
|
| I just wanted to ask you if what I am doing is possible to do.
|
| To recap what I am trying to do is to have a host machine and set up
tun/tap
| networking between the host and a number of UMLs
|
| I then want to be able to remotely access the UML using something like
VNC or
| some other remote desk top viewer.
|
| What I dont understand about connecting to the UML is that when i
connect to
| my host machine useing VNC I use the hosts IP address but if I wanted to
| connect to the UML then I would need to use its IP address but the
problem is
| that it is a virtual IP address. I understand that the host is acting as a
| router so port forwarding would need to be set up to forward the
connection
| to the UML but how would I could I set up the port forwarding on the fly.
|
|
| Thanks
|
|
|>===== Original Message From Blaisorblade <[EMAIL PROTECTED]> =====
|>
|>On Friday 28 January 2005 17:30, Greg Furlong wrote:
|>
|>>I am a final year student taking a degree in Computing at Dublin
Institute
|>>of Technology - Ireland. In my final year project I am doing a project
|>>using User Mode Linux. My project has set out to research the
capabilities
|>>of User Mode Linux in a teaching environment.
|>>
|>>So far I have set up a server
|>>and now have users logging on from a terminal. They use a COW file so as
|>>not to corrupt the file system. Next I want to investigate and test the
|>>capabilities of User Mode Linux over a network using a Graphical User
|>>Interface. The problem that I am having is that I am finding it difficult
|>>to set up the GUI system.
|>>
|>>I was wondering if anybody could give me some
|>>pointers in the right direction
|>
|>Without knowing which are your difficulties? It's difficult.
|>
|>
|>>or could tell me of a tutorial on how to
|>>set it up.
|>>
|>>I have already looked at the user mode Linux
|>>website on sourceforge but have been unable to successfully complete the
|>>GUI instructions.
|>
|>What's the problem?
|>
|>You must install Xnest inside your guest system... it will then be able to
|>forward connection to another X system (on which you have to authorize TCP
|>connections from the UML system). Then it should work, more or less.
|>
|>
|>>I am running Red Hat Linux 9 2.4.20-8
|>>User mode Linux Patch 2.4.27-1
|>>Remote Terminal Putty
|>
|>On windows? well, there are also Xservers on Windows (the cygwin one for
|>instance)...
|>--
|>Paolo Giarrusso, aka Blaisorblade
|>Linux registered user n. 292729
|>http://www.user-mode-linux.org/~blaisorblade
|>
|>--
|>This message has been scanned for content and
|>viruses by the DIT Information Services MailScanner
|>Service, and is believed to be clean.
|>http://www.dit.ie
|
|
| --
| This message has been scanned for content and
| viruses by the DIT Information Services MailScanner
| Service, and is believed to be clean.
| http://www.dit.ie
|
| -------------------------------------------------------
|
- --
[img:ed3befa3f8]http://www.clete2.com/imgs/Signature.gif[/img:ed3befa3f8]
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
I got infected by Clete2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCHflB/nMaMm6KUWMRAlnPAJ9NGhhwi+odSBDFFGNMNcW4umNYYwCgnTdG
LTFx137S0M2zAF4p1UDKLrU=
=qtY3
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user