Am Freitag, den 08.07.2005, 11:04 -0300 schrieb Denis Marcelo:
> I have two net cards in my ltsp server
>  
> and i wanna put clients in both network cards, How do I configure to
> clients of one network get the configurations of ltsp server to ethX
> IP
> and the another network clients to search for the server on ethY IP ??

Let's discuss the bootup process in order to see what actually needs the
knowledge which network you are on.

The first step, booting with Etherboot and/or PXE, involves getting an
IP-address. In that case, I'd recommend setting up your dhcpd.conf with
two

subnet ... {
        range ...
}

stanzas, one for each interface. Don't forget to make dhcpd listen on
both interfaces! For debian, have a look into /etc/default/dhcp3-server
Also, set up the multi-homed server as the "router" in dhcpd.conf - that
way, clients can reach the server under any of the two IP addresses:
Either they pick the right address (on coincidence or whatever) and get
a direct connection, or they assume the packet (to the other IP address)
needs to be routed, and hand it off to the server which in turn just
answers.

TFTP for getting the kernel should already work, just specify any of the
two IP addresses as next-server (well, or leave that away at all - the
automatically filled in IP address of the dhcp server will do very
well).

After retrieving the Linux kernel, another DHCP query is fired, which
will succeed. Mounting the NFS-root from any of the two IP addresses
should work now as well.

The last step (in a vanilla setup) where IP is involved should be the
"X -query" - also here, any of the two IP addresses will do fine.


Conclusion: Just setup the dhcpd.conf as reasonable thoughts tell you -
the rest should work out of the box.

Caveats: You possibly need IP forwarding turned on on the server machine
(on debian, that'd be in /etc/networking/defaults). Also check your
firewall, and make sure the appropriate daemons run on the appropriate
interfaces.

HTH

Anselm



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_____________________________________________________________________
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