Name Resolution between Solaris and Windows


 
Thread Tools Search this Thread
Special Forums IP Networking Name Resolution between Solaris and Windows
# 1  
Old 06-09-2004
Name Resolution between Solaris and Windows

Hello.

I have been working on an issue I hope someone can help me out with.

I have a small network with an NT4 Server, 15 Win2K PC, and four Unix workstations. I am having problems resolving the name of one of the workstations from the server and PC's. I am attacking this issue from both sides of the coin.

To better explain say I have two workstations, workstation_1 and workstation_2. From either the server or any PC, I can ping workstation_1 by either its IP address or it's name and receive a reply back. However, when I ping workstation_2, I only receive a reply when I ping by IP address. I get an unknown host error when pinging from a PC, and a bad IP address error when pinging from the server.

I have looked at the LMHOSTS file, and can find no reference to any of the workstations, either by IP address or machine name, (even for the ones that their names do get resolved.)

I have also looked at the nsswitch.conf files on both workstations. The two files are almost identical, except for one line. Workstation_2, has the following line:

ipnodes: files

I have tried commenting it out, and repinging the machine. I receive the same result. Does this line possibly have anything to do with my issue? If so, do I need to update/refresh the nsswitch.conf file before trying to ping the workstation_2 again?

Also, I noticed that workstation_1 is running Solaris 6, and workstation_2 is running Solaris 8. Are there differences in how these two OS's resolve names?

Also, I am able to ping machine names between workstations, and that is okay.

Any and all help is greatly appreciated.

Cheers,

medmonson
# 2  
Old 06-10-2004
The entry for ipnodes in your /etc/nsswitch.conf is for IPv6 - see SUN docs for further info - this should not be related to your problem.

What are the WIN and NT systems using to resolve names/IPs?

What is listed in your Solaris systems in the /etc/nsswitch.conf for hosts? Is it the same on all Solaris servers?

Solaris 2.6 and 8 resolve the same way.
# 3  
Old 06-10-2004
Thanks RTM. (Is this for Read The Man-pages?) Smilie

I'll take a look at the Sun Docs for more on the ipnodes.


As far as how the Win and NT machines resolve names, I am pretty sure they resolve names via DNS. However, I modified the HOSTS file on a couple of my Win2K machines, and added in the workstation_2 name with its associated IP address. I then re-imported the HOSTS file. After doing this I was able to ping the workstation_2 name as well as its IP address. These machines essentially can resolve the workstation_2 name now. I think this would deduce my problem to a Windows resolution issue versus a Solaris resolution issue. However, I am still not sure how the other workstations are getting their names resolved because they are not referenced in the HOSTS file...

On the Solaris Workstations in the /etc/nsswitch.conf files:

for hosts:


hosts: nis [NOTFOUND=return] files dns


Now I know this is different than what I have seen in other postings, (hosts: files dns), but this is what is in all of the workstations' nsswitch.conf files. I would think this could not be the problem.


Cheers,

medmonson
# 4  
Old 06-10-2004
So your Solaris servers are attempting to find host information via nis first, if not found, files (/etc/hosts), and then dns.

If you don't use nis for host resolution, you could remove the "nis [NOTFOUND=return]" portion in your nsswitch.conf files. If you do use it, then you can check to see if it needs to be updated by getting on the master nis server.

Quote:
However, I am still not sure how the other workstations are getting their names resolved because they are not referenced in the HOSTS file
You still will have a problem until you figure this out - the next time you add another workstation it may have the problem, plus you will still have to update each workstation that you added the HOSTS files to. You might want to look into this to avoid problems in the future (sorry but I don't work that much on workstations so have no opinions to give on this portion).
# 5  
Old 12-13-2007
Just a question: Could it be that your hostname has underscores in it ? Technically this is not allowed according to the defined standard for host names (RFC 952). Windows unfortunately allows it. Solaris has problems with it as far as I remember. If this is your problem then get rid of those underscores. They will only cause you problems.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Changing dpi screen resolution in Solaris 10.

Hi, everyone! I would like to try OpenStep for Solaris on my Sun Ultra 10 machine, so I installed all required packages, the problem is that OpenStep requires screen DPI to be set to 72x72 while my current dpi is 90x90. So how do I change the dpi? Thank you! (0 Replies)
Discussion started by: nongrato
0 Replies

2. Solaris

MS Windows XP to Solaris 10

I have a solaris box with no internet connection. I downloaded a .tar file to my XP box, burned it to CD and copied the file to a directory on the solaris box. When I try to untar it, i get a directory checksum error. I don't know enough about unix to figure this out. Can someone please help... (2 Replies)
Discussion started by: ncjbdwqer
2 Replies

3. Solaris

X-Windows on Solaris

Hi, I am new to the X-windows concept. I am connecting to Solaris Server through putty. I heard we can start an X-windows session(GUI) of the Solaris server from putty session as well. Can somebody help as how to proceed to acheive this ? Thanks in advance. (8 Replies)
Discussion started by: EmbedUX
8 Replies

4. Solaris

SFTP from Solaris to Windows

Hello Guys, I was looking for a method for passwordless SFTP from Solaris to Windows server. I googled a lot, but could not find anything which would suit my purpose. All I found on google was the error messages that people got, but not how to do it. Please help. I am in urgent need of it. (7 Replies)
Discussion started by: grajp002
7 Replies

5. Solaris

Screen Resolution problem on Ultra 10 with Solaris 10

Hi, I have a Sun Ultra 10 (SPARC) with Solaris 10 installed. The screen resolution is very poor and grainy which I have been unable to rectify. Every time I try to set the resolution I get the following: 'The XServer does not support the XRandR extension. Runtime resolution changes to the... (5 Replies)
Discussion started by: patcom
5 Replies

6. Solaris

NTFS under Solaris (switching from windows to Solaris server)

I want just to keep Solaris OS as my default OS . I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris (tried FUSE + NTFS-3g but that did`t worked for me system was down) And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies

7. Solaris

Solaris 10 name resolution question

As you can see by the following text, we have a multi-homed host defined in our network: bash-2.05# nslookup ldaptest Server: usat0x40.atd.gmeds.com Address: 10.1.14.14 Name: ldaptest.atd.gmeds.com Addresses: 10.1.16.142, 10.1.16.141 I turned off nscd (didn't think I needed to)... (5 Replies)
Discussion started by: pzxkys
5 Replies

8. UNIX for Advanced & Expert Users

Solaris 10 Desktop resolution

I have a problem with solaris 10 desktop resolution. My resolution is 1680x1050. I want to boot in troubleshooting mode to change this resolution for the root user. Or all users. What is the configuration script. ex: .dtconfig/Xconfig (3 Replies)
Discussion started by: simquest
3 Replies

9. Solaris

Solaris and windows

Hi All, If i install windows xp and solaris on the same machine(x86 platform) can both be running at the same time,even if i use vmware or virtual pc like that. Can I able to configure internet for solaris if i dont have a router and i directly connect to internet through cable modem. Can i... (11 Replies)
Discussion started by: Jartan
11 Replies
Login or Register to Ask a Question