NIS client in different subnet and with nonstandard 23bit netmask
807557Dec 23 2009 — edited Dec 28 2009This seems like a fairly straightforward question.
I have a legacy NIS server on a 24 bit netmask subnet. It's a small NIS domain and its days are numbered. Until now, all clients of this server were in the same subnet.
Now I need to set up a few NIS clients on a different 23 bit netmask subnet. Everything I've done to configure clients has failed so far.
On a clean Solaris 10 U8 install, I've:
- entered the netmask for the master's network in /etc/netmasks
- entered the master's IP in /etc/hosts
- run ypinit -c
- cp /etc/nsswitch.nis to /etc/nsswitch.conf
- modified the host line in /etc/nsswitch.conf to "files nis dns"
- verified that the nis client svc was running
- verified that the master's name shows up in /var/yp/binding/<domainname>/ypservers
- verified that /etc/resolv.conf has the correct "domain" line
I'm stumped at this point...although I have a very strong hunch the problem is in the nsswitch.conf as I cannot ping the master by its hostname but I can ping the master by its IP address.
Any ideas would be much appreciated,
Phil