[K12OSN] windows machines on LTSP subnet

Huck dhuckaby at paasda.org
Wed Nov 1 18:56:33 UTC 2006


iptables -L -t nat

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE  all  --  anywhere             anywhere

ip_forward is '1'...

my dhcpd.conf looks like this (vitals):

ddns-update-style none;
option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.255;
option routers                192.168.0.254;
option domain-name-servers    192.168.0.254, 10.1.3.1;
option domain-name            "ltsp";
option root-path              "192.168.0.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;

shared-network WORKSTATIONS {
   subnet 192.168.0.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.0.100 192.168.0.253;
      use-host-decl-names       on;
      option log-servers        192.168.0.254;



10.1.3.1 is my router to the outside world... eth1 on the LTSP machine 
is 10.1.3.35...

Still no luck though...I can ping 10.1.3.35 from the windows machine now 
but not 10.1.3.1.

Thanks,

--Huck

Gideon Romm wrote:
> Huck:
> 
> You need to:
> 
> 1.  check iptables with:   iptables -L -t nat 
> 2.  check ip_forwarding with:  cat /proc/sys/net/ipv4/ip_forward
> 3.  If ip_forwarding is off (0), you should both turn it on now with:
> 
> echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> and on reboot, by setting "net/ipv4/ip_forward=1" in /etc/sysctl.conf
> 
> 4.  Check that you are passing the 
> "option routers" and "option domain-name-servers" in your dhcpd.conf.
> If not, add them with the IP of the LTSP box for "option routers" and
> the ips of the DNS servers on your network to "option
> domain-name-servers"   -- dont forget to restart dhcpd!
> 
> Then, it should all work.
> 
> -Gadi




More information about the K12OSN mailing list