Thanks alot for all help, it saved us alot of time and we've now got a
working network!! Now we're trying to get client2 to boot from server2
but to run applications from server1. We thought it would be enough to
let the client mount the filesystem from server1 instead of from
server2, and in order to do make it happen we changed the path to the
moundpoint in the dhcpd.conf-file at server2 and modified lts.conf,
hosts, dhcpd.conf and the exports-file at server1. Now client2 seems to
boot correctly from server2 and the mountrequest to server1 seems to be
accepted. Then an errormessage accurs at client2, saying that drivers
and screens are missing. X never starts and we haven't gotten any
further. Does anyone have similar experience or a better understanding
than I? Thanks in advance! 
/Maria

On Wed, 2002-07-03 at 16:20, Maria Backlund wrote:
> Thanks for your reply. What we want to do is actually
> 
> LTSPclient1 <-->LTSPserver1<-->dummienet<-->LTSPserver2-->LTSPclient2
> 
> where dummienet is supposed to simulate different kinds of Internet 
> accesses. The idea is for LTSPclient2 to boot from LTSPserver2 but to 
> run applications on LTSPserver1. We're pretty much new at all this and

> appreciate all ideas. It'd be great to receive your config files.
> 
> Thanks, Maria
> 
>

The setup I have is:

LTSP client(s) -> LTSP Server -> Gateway -> DummyNET <- Gateway <- LTSP
Server <- LTSP client(s)

On the left of DummyNET is the "red" network. On the right is "blue"

red-ltsp-clients: 192.168.1.x
red-ltsp-server: 192.168.1.10
red-gateway: eth0 192.168.1.250, eth1: 100.100.100.100

DummyNet (I call it "black"): eth0: 100.100.100.101, eth1:
200.200.200.201

blue-gateway: eth0: 192.168.2.250, eth1: 200.200.200.200
blue-ltsp-server: 192.168.2.10
blue-ltsp-clients: 192.168.2.x

The attached ipsec.conf file lives on the gateway machines and creates a
VPN between the red and the blue networks. Don't forget you will need to
paste in the correct rsasigkeys for your installation.


The LTSP clients, server and gateway all plug into a "red" hub or a
"blue" hub. The gateway machines connect to the dummy net "black box"
via a cross-over cable. You can use the tc commands (or CBQ.init) to do
bandwidth shaping on the black box to simulate various line speeds.

Also, if you use NAT/masquarading you need a line such as

iptables -t nat -A POSTROUTING -o eth1 -d ! 192.168.2.0/24 -j SNAT --to
100.100.100.100

on the red-gateway and

iptables -t nat -A POSTROUTING -o eth1 -d ! 192.168.1.0/24 -j SNAT --to
200.200.200.200

on the blue-gateway.

With this setup, anyone on the "red" net can ping anyone on the "blue"
net

Good luck.

Bryan


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to