On Sat, 2004-08-21 at 17:38, [EMAIL PROTECTED] wrote:

> But i cannot ping any external address  when i boot the diskless clients in the
> shell prompt.

The other hosts need to know to route packets back to your LTSP server
if it's doing packet forwarding. It may be simpler to instead have the
LTSP server masquerade traffic from the clients in much the same way
that IP Masquerade works for running a whole LAN behind a single
world-reachable IP address.

I suspect, you see, that the ICMP ping packets are now being sent
correctly but the replies aren't being routed back to the LTSP server.
To confirm this, try running tethereal on the "outside" interface of
your LTSP server (not the one the clients are attached to) then pinging
your desired host again. Something like:
        tethereal -i $YOUR_EXTERNAL_INTERFACE icmp
will do the trick nicely. You should see something like this:

  4.320118  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request
  5.330271  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request
  6.340227  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request

(where 192.168.0.4 is the source and 203.0.178.191 is the destination in
my case)

if I'm correct. If you see this instead:

  4.320118  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request
  4.337310 203.0.178.191 -> 192.168.0.4  ICMP Echo (ping) reply
  5.330271  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request
  5.347591 203.0.178.191 -> 192.168.0.4  ICMP Echo (ping) reply
  6.340227  192.168.0.4 -> 203.0.178.191 ICMP Echo (ping) request
  6.356150 203.0.178.191 -> 192.168.0.4  ICMP Echo (ping) reply

then the replies are making it back to your server, but either not being
forwarded to the LTSP client or something else is going wrong.

So far, this doesn't sound like an LTSP problem at all, but rather a
general problem with the incorrect configuration of a (somewhat)
advanced network structure under Linux.

If I'm correct and packets aren't getting routed back, the easy fix is
to set up IP Masquerading using IPTables on the server. The /proper/ fix
is to fix your organisation's routing so that the subnet the LTSP
clients are on gets routed properly.

--
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