is there any chance to get NIS running not just on one subnet without
using Slave Servers?
Thanks,
Henry
--
Dipl.-Ing.(FH) Henry G Kleta | eMail: hkl...@fh-wedel.de
Fachhochschule Wedel, VR-Lab | http://www.fh-wedel.de/~kl
Feldstrasse 143, 22880 Wedel | Phone: +49(0)4103 8048-41
=+=
Reality is a false sensation caused by nitrogen deficiency...
"Henry G. Kleta" wrote:
>
> Hi,
>
> is there any chance to get NIS running not just on one subnet without
> using Slave Servers?
From man ypset:
ypset is useful for binding a client node that is not on a broadcast net
or is on a broadcast net that isn't running an NIS server host. It also
is useful for debugging NIS client applications, for instance where an
NIS map only exists at a single NIS server host.
~Rolland
SGI - We're the dot in .gov and .mil
>From man ypset:
We ended up doing this by creating the file /var/yp/binding/{domainname}
which contains a list of the NIS servers.
In our case, we modified /usr/etc/dhcpcopt so that the NIS servers could
get passed from our DHCP server and build this file at boot time. This
has worked out real well. We also had to instruct the DHCP client to ask
for the NIS server tag (in /etc/config/proclaim.options). This has allowed
us to Roboinst machines that are entirely self configuring, even in different
subnets.
In nis(7P)
...
nis_servers
The nis_servers attribute is a space separated list of IP addresses,
or locally resolvable host names for the systems which act as
servers for this domain. If the nis_servers attribute is given then
the daemon will not send out a broadcast or multicast request for a
server, but will instead unicast binding requests to the listed
servers. This may also be set by creating the file
/var/yp/binding/DOMAINNAME/ypservers for the domain you wish to
control. This file is made up of a space separated list of
addresses, or locally resolvable names. See ypservers(4) for more
detailed information.
...
--
Ray Muno Internet: mu...@aem.umn.edu
University of Minnesota http://www.aem.umn.edu/people/staff/muno
Aerospace Engineering and Mechanics
Thats the one!
Thanks a lot,