[K12OSN] windows machines on LTSP subnet
Gideon Romm
ltsp at symbio-technologies.com
Wed Nov 1 18:13:58 UTC 2006
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
On Wed, 2006-11-01 at 08:56 -0800, Huck wrote:
> Interesting... chkconfig shows NAT to be going in runlevels 2345.
>
> I have no iptables rules when I do an 'iptables -L' no firewalling on
> the LTSP server it's behind the school's firewall.
>
> Here is a line from ip_conntrack :
> tcp 6 44 TIME_WAIT src=10.1.3.35 dst=209.104.35.15 sport=49647
> dport=80 packets=6 bytes=1413 src=209.104.35.15 dst=10.1.3.35 sport=80
> dport=49647 packets=6 bytes=760 [ASSURED] mark=0 use=1
>
> --Huck
>
> Petre Scheie wrote:
> > I ran into this last year on version 4.x. As I recall, the problem was
> > the server wasn't doing NAT, probably caused by my messing with &
> > turning off iptables after boot. Check /proc/net/ip_conntrack which
> > should show your NAT activity. In my case, I think the file was
> > flat-out missing, but running 'service nat start' fixed it IIRC.
> >
> > Petre
> >
> > Huck wrote:
> >> Yesterday was the first time I attempted to put a windows machine
> >> attached to the same subnet as my thin clients. It failed. The machine
> >> receives an IP address the same as the thin clients...but no routing
> >> takes place to get traffic from eth0 on the LTSP server TO eth1 which
> >> has access to the rest of the world...
> >>
> >> Do I merely need to set up a 'route' on the LTSP server to allow
> >> Windows machines to have Internet connectivity?
> >>
> >> --Huck
> >>
> >> _______________________________________________
> >> K12OSN mailing list
> >> K12OSN at redhat.com
> >> https://www.redhat.com/mailman/listinfo/k12osn
> >> For more info see <http://www.k12os.org>
> >>
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
--
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
ltsp at symbio-technologies.com
Support LTSP! Buy your hardware at:
www.DisklessWorkstations.com
www.DisklessThinClients.com
(use coupon code: LTSP5P for 5% off thin clients from DisklessThinClients.com)
More information about the K12OSN
mailing list