On Sun, 2004-08-22 at 19:22, [EMAIL PROTECTED] wrote:

> RedHat 9 does not port forward like this. You need to
> 
> echo "1" > /proc/sys/net/ipv4/ip_forward

He's also modified sysctl.conf to enable forwarding, so there's no need
to use echo to set the value. sysctl will do it at boot.

> Your thin clients will not be able to access the internet unless you
> have specified a gateway to them and unless you are masqurading on your
> server (unless you have real IPs to waste, and are using them).

I don't think they need to be "real" (ie world-reachable) IPs. Consider
a network structure where you have the LTSP server behind a gateway that
does NAT, and the clients on a private network connected only to a
second interface on the LTSP server (this is how it sounded like his
network was set up). You should simply be able have the gateway route
demasqueraded packets back to the LTSP server for it to route to the
clients, and set the clients to use the gateway for their default route.
If the LTSP clients are on a separate subnet, that's easy. On the other
hand, it may be simpler to configure the LTSP server to do NAT
(resulting in a second 'layer' of NAT at the gateway) if it's not easy
to change the gateway's routing policy.

                -------------------
                |       inet      |
                |  GATEWAY ROUTER |
                |   masquerading  |
                |   192.168.1.1   |
                -------------------
                         |
                         |
                -------------------
                |   192.168.1.2   |
                |   LTSP SRVR     |
                |     routing     |
                |   192.168.2.1   |
                -------------------
                 |           |    |----------| 
                 |           |               |
          192.168.2.2    192.168.2.3   182.168.2.x
            CLIENT1         CLIENT2       CLIENT3

The above should work quite fine, so long as CLIENTx have 192.168.2.1
set as their default gateway, the LTSP server is routing packets between
the LTSP clients and the gateway router, and the gateway router knows to
route packets for 192.168.2.0/24 addresses back to the LTSP server.
Right?

--
Craig Ringer



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_____________________________________________________________________
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.freenode.net

Reply via email to