Can't ping my unix box by name

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Can't ping my unix box by name
# 1  
Old 04-15-2011
Can't ping my unix box by name

Hi All,

I have recently setup a Windows 2003 server as AD / Domain Controller. In it, I have a VMWare for RHEL 4. I have 3 other computers connected to the network all using Windows 7. These computers can ping each other by name. But none of these can ping the Unix OS in the VMWare of the Windows 2003 server. Even the Windows 2003 server machine can't ping the VMWare unix.

Are there any additional setups that needs doing?

Thanks.
# 2  
Old 04-15-2011
Quote:
Originally Posted by adshocker
Are there any additional setups that needs doing?
yes ... and lot's of it; I think too many to explain all here. But here are some things that you can research.

1. Is the VM using bridged or NATed?
2. Do you have a DNS?
3. DHCP or static IP?

If you don't have DNS and DHCP and if the VM is bridged and has a static IP address, you can edit the "hosts" file on each windows box and add an entry for the vm. The host files should be under C:\Windows\System32\drivers\etc and you will need to edit it as "administrator".

HTH.
-RN.
# 3  
Old 04-15-2011
Quote:
Originally Posted by rn_
1. Is the VM using bridged or NATed?
I set it up as bridged.
Quote:
Originally Posted by rn_
2. Do you have a DNS?
I think I'm using my ISP's DNS servers.
Quote:
Originally Posted by rn_
3. DHCP or static IP?
I set it to static IP only on the Unix Box.

Quote:
Originally Posted by rn_
If you don't have DNS and DHCP and if the VM is bridged and has a static IP address, you can edit the "hosts" file on each windows box and add an entry for the vm. The host files should be under C:\Windows\System32\drivers\etc and you will need to edit it as "administrator".
I did this and it does work. But not what I had in mind but thanks.
# 4  
Old 04-15-2011
if you want to avoid adding entries to the host file, you will either have to setup your own dns server or use the one in your router if that provides this functionality.

the reason the windows PCs work without all this additional setup i think is because the windows pcs do a lot of network discovery requests using some cifs or something protocol built into windows networking. very wasteful when networks were slower i think, don't matter as much now that networks have improved.

-RN.
# 5  
Old 04-15-2011
The Microsoft Windows discovery protocol is called Link Layer Topology Discovery
# 6  
Old 04-18-2011
Essentially, you will either need to set up DNS or modify the C:\windows\system32\drivers\etc\hosts file on windows

and the /etc/hosts file on the linux machine.

There are examples within both to instruct you on how to properly make the changes to allow resolution by the canonical name.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Ping command for windows Box

Hi, I would like to write a script for checking the windows remote server has responding or not from Unix box. 123.34.56.222-- the windows remote server I wrote like: ping 123.34.56.222 PING 123.34.56.222: 64 byte packets 64 bytes from 123.34.56.222: icmp_seq=0. time=8. ms 64... (1 Reply)
Discussion started by: koti_rama
1 Replies

2. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

3. Shell Programming and Scripting

issue a ping on a remote box

Hi there I am running a script on a central box (boxA) that will send a remote request to boxB to perform a ping test to an ip note: I am not pinging boxB from boxA but sending a request over ssh to get boxB to perform a ping test ! The thing is, I want the script back at boxA to know... (4 Replies)
Discussion started by: hcclnoodles
4 Replies

4. Shell Programming and Scripting

how to compare all files in one unix box has been to copied to another unix box

Hi our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies

5. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

6. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

7. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

8. Linux

Can't SSH / ping Linux box !!!

I have a linux box build11 which can be pinged from build18 (Windows) box. And we can only login to the box (using SSH) from build18 box. Plz help to characterize the problem, network, DNS, DHCP, etc (or whatever which I am unsure) Any idea what may be the reason ? :confused: Thanks in... (4 Replies)
Discussion started by: csaha
4 Replies

9. UNIX for Advanced & Expert Users

How to FTP a file generated at UNIX Box to NT Box

Hi all, I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine. how can i do that and the application currently upon which i am working is a JAVA based application. I need your help. regards Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies

10. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
Login or Register to Ask a Question