On 2014-08-12, Michael Pope wrote:
> I've setup LTSP-PNP on a Xubuntu 14.04 system and I'm up to the last
> issue, which is my fat client cannot access the internet. What I mean by
> that is I cannot ping an external IP address on a fat client.
...
> Here are the routing tables
> LTSP Server routing table
> Destination  Gteway      Genmask  Flags  Metric  Ref  Use  Iface
> default      10.1.1.1    0.0.0.0  UG          0    0    0  eth0
> 10.0.0.0     *         255.0.0.0  U           0    0    0  eth0
>
> LTSP fat client routing table
> Destination  Gteway      Genmask  Flags  Metric  Ref  Use  Iface
> default      server    0.0.0.0  UG          0    0    0  eth0
> 10.0.0.0     *         255.0.0.0  U           0    0    0  eth0

Your fat client is configured to route through the server, rather than
your router, which is the default in dnsmasq if you don't specify the
router.

So, you either need to set up routing on your LTSP server, or better,
configure DHCP to hand out 10.1.1.1 as the gateway.

The dnsmasq man page reads:

--dhcp-option=[tag:<tag>,[tag:<tag>,]]...
  Specify different or extra options to DHCP clients. By default,
  dnsmasq sends some standard options to DHCP clients, the netmask and
  broadcast address are set to the same as the host running dnsmasq, and
  the DNS server and default route are set to the address of the machine
  running dnsmasq.

So, I think you want in /etc/dnsmasq.d/*.conf:

  dhcp-option=3,10.1.1.1

(dhcp option 3 is gateway)


live well,
  vagrant

Attachment: pgpceTFPQ7dIk.pgp
Description: PGP signature

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