Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NIS over subnet borders

1 view
Skip to first unread message

Henry G. Kleta

unread,
Sep 5, 2000, 7:07:10 AM9/5/00
to
Hi,

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...

Alexis Cousein

unread,
Sep 5, 2000, 3:20:22 PM9/5/00
to Henry G. Kleta

"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 Miller

unread,
Sep 5, 2000, 5:03:25 PM9/5/00
to
Modify the /etc/config/nsd.options file under IRIX 6.5 and add a line
like this
-a nis_security=local -a nis_servers=<ipaddress> for one nis server.
or
-a nis_security=local -a nis_servers="<ipaddress ipaddress ipaddress>"
for several nis servers.

~Rolland

SGI - We're the dot in .gov and .mil

Ray Muno

unread,
Sep 5, 2000, 7:51:41 PM9/5/00
to
Alexis Cousein <a...@brussels.sgi.com> writes:

>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

Henry G. Kleta

unread,
Sep 6, 2000, 3:14:30 AM9/6/00
to
> -a nis_security=local -a nis_servers=<ipaddress>

Thats the one!

Thanks a lot,

0 new messages