Alkis Georgopoulos kirjoitti:

>       * If the LTSP server has 2 or more NICs, the "public" one is
>         configured in proxy-dhcp mode (because a DHCP server is assumed
>         to be already present there), and the "private" ones are
>         configured in normal DHCP server mode. That should cover the
>         classical 2-switches setup usually proposed for LTSP.

I tested this - works really great. First I was lost, client booted just 
in same range (eth0 - 192.168.1.x). Then I found this howto:

https://help.ubuntu.com/community/Internet/ConnectionSharing

Maybe there are better ones, but this was quick 'n' dirt this time.

So I just added these two lines (private network) to file 'ltsp-server-pnp'.

# This range is for the public interface, where dnsmasq functions as a
# proxy DHCP server providing boot information but no IP leases.
# Any ip in the subnet will do, so the broadcast address is used.
dhcp-range=192.168.1.255,proxy

# This range(s) is for the private network on 2-NIC servers,
# where dnsmasq functions as a normal DHCP server, providing IP leases.
interface=eth1
dhcp-range=192.168.0.100,192.168.0.250

Now thin client booted beautifully.

Jun  8 21:24:13 ubuntu-ltsp5 dnsmasq-dhcp[4819]: DHCP, IP range 
192.168.0.100 -- 192.168.0.250, lease time 3d
Jun  8 21:24:13 ubuntu-ltsp5 dnsmasq-dhcp[4819]: DHCP, proxy on subnet 
192.168.1.255
[--]
Jun  8 21:25:08 ubuntu-ltsp5 dnsmasq-dhcp[4863]: 1699315701 
DHCPDISCOVER(eth1) 00:22:64:49:7f:f5
Jun  8 21:25:08 ubuntu-ltsp5 dnsmasq-dhcp[4863]: 1699315701 
DHCPOFFER(eth1) 192.168.0.118 00:22:64:49:7f:f5
[--]
Jun  8 21:25:23 ubuntu-ltsp5 dnsmasq-dhcp[4863]: 1699315701 Vendor 
class: PXEClient:Arch:00000:UNDI:002001
Jun  8 21:25:23 ubuntu-ltsp5 dnsmasq-dhcp[4863]: 1699315701 PXE(eth1) 
192.168.0.118 00:22:64:49:7f:f5 /ltsp/i386/pxelinux.0

Yes, push it in Karmic, very good in mixed Windows networks.

Best Regards Asmo Koskinen.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_____________________________________________________________________
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