The Solaris group is a forum where peers share technical expertise, solve problems, and discuss issues related to the Solaris operating system, including OS-related malfunctions, security issues, and network performance.

Unable to Ping the FQDN

Hi,
Initially on the Solaris 5.8 i was unable to ping the FQDN using ping -s. Then i made changes to nsswitch.conf entry for Host & ipnodes to "dns files nis", still I am unable to ping the FQDN from the server. Later on modified the nsswitch.conf to "dns files [NOTFOUND=return] nis" and now i am able to ping the FQDN, but this change has caused problem to some of the NIS user [not all users] as they are unable to login to the server because their home dir are not getting mounted through autofs. Hence i have to revert the changes in nsswitch.conf to "dns files nis" and the NIS user problem is resolved but the pinging of FQDN failed.

I would play with the order of how the entries are listed in the
nsswitch.conf there are the two you tried but you could also try dns files
nis or nis dns files. You get the idea but I think the problem is related
more to the routing table rather than what the server is using to lookup
host information. You might want to see if your network guys have changed
any routes or VLANs.

Looks like 2 routes being defined as local to your subnet.
When you can ping the FQDN, what IP does it resolve as?
When you can't ping the FQDN, what IP does it resolve as?
The 2 routes that are local 2 your subnet, do they start with the same
octet? I can't tell from the xxx's.
e.g. is it something like:

It _could_ be that the IP resolves to one in the class /8 route when you
can't ping it, and one in the class /24 route when you can ping it. If so,
that could mean that the /8 route is incorrect and should be removed. It
also means you have different IPs defined for the same host in different
services (if so, that should be corrected too).

I obviously can't read the ip addresses you listed I think that the site
puts XXX.XX.X.XXX if you try to put in a regular ip address. Is the IP
address of the host on the same subnet as the default gateway? Is the dns
and nis server on the same subnet also? You might have to add a route to the
server to get to the DNS servers if you change the way the nsswitch.conf
file is setup. when you modified the nsswitch.conf is when you ran into
problems with nis if I remember correctly. So if you change it so you can
get the fqdn and nis stops working then you might need a route for the nis
server or vice versa.