i just wondering about the network setup .  as i know , if the host act as a gate way it also should has an internal IP  so it can ping the umls .
 
if use a bridge ,  the bridge should be set of the external ip , and the umls will be setup the internal ip , and umls will use tapN,
 
but now in the host  if ping umls  obversily can't reach it (is that right just add a route to the host , umls can be reached ?
 
like that , tap0 address is 192.168.0.1,  uml1 address is 192.168.0.2 , and in uml1 set network as  ip 192.168.0.2/24 gateway is 192.168.0.2
 
and add route in host like that   addroute 192.168.0.0/24 tap0 [this command maybe wrong , you just know the meaning]
 
is that right ?
 
 
).   i just don't understant  how tap works . so if you give me a practical setup ,will be very appreciated.
 
also "exec linux ubd0=... umid=mytest eth0=..." , if edit the .bash_profile like that ,  it means the user can't login the host  ? as he login the host ,will be redirect to uml ?  
my understood is that , if the user login just start a uml instance for him . but if the uml instance is already there , how should i do ?
 
thank you for your help . 


 
2006/6/19, Stefano Melchior <stefano.melchior@openlabs.it>:
On Sun, Jun 18, 2006 at 06:07:44PM +0800, paul john wrote:
Dear friend,
> as the subject,
>
>                       host has onely  one ethernet interface . eth0    only
> one external ip 218.116.112.115, so i want use 192.168.1.0/24 by umls .

you need to set up the host as a gateway for your "internal" traffic, so
that all the packet arriving from eth0 can be redirect in the proper way
to the internal network.
Please see:
http://sourceforge.net/mailarchive/forum.php?thread_id=12191958&forum_id=3647

>                  and if above is solved, we only have on problem . how to
> ssh umls from the external network exmaple internet  , i think we only can
> access 218.116.112.115 ,so we must setup a ssh gate,
if you choose to redirct ssh traffic on a specific port for ssh you can
manage, via iptables, the traffic from outside to the specific uml
instance.
>
> is there a soft like that , users can login 218.116.112.115 with a username
> password ,the ssh gate forward to the internal uml he can loged in .
if you prefere you can launch an uml system at the login of a specific
user, just by adding the following command to the .bash_profile of this
user:

exec linux ubd0=... umid=mytest eth0=...

(obviously to customize the ... field). Rmember that the user must belong
to the uml-net group!
Cheers

SteX

--
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior@openlabs.it>
http://etinarcadiaego.dyndns.org    --     http://www.stex.name
Skype ID "stefanomelchior"


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQCVAwUBRJWKlYlnkxrVLfgpAQLKKQP9EiAB4DuUdgYOECtVCGzgq7alcXauImh2
5GVp1LkyhJ1x1AvhD9ayXXmDweAkD+acA6ptKaKArrYHB0rqNv/pxPkEB4QJQKnz
hXBFu8tHlbKvPWkaKnqESW6Xt8oQYmQ9sWwlSpEEBj/jsjvdCTFE/M5seesSVnVe
nrGWWxze0YI=
=ErVJ
-----END PGP SIGNATURE-----