IP address assigning

jatsw
jatsw used Ask the Experts™
on
Hi all
I have two PCs's and both are having two  network adapter each.(NIC1 and 2 for pc1,while nic 3 and 4 are in pc2)

When i ping from pc1 it pings to nic3.Ok fine.But on revers side while pinging from pc2 to pc1 it ping the other nic.and not to the same adapter.ping with netaddress works well in all direction.
I want one particular adapters from both pc's to ping each other by assigning pc name.(ping pc1 or ping pc2)
How it can be managed, please advise if possible.
This is a home network and are connected through workgroup, having w2k prof os.

jatsw
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
So is it that you want one NIC in each to handle one type of traffic?  ie) NIC1 and NIC3 to handle TCP/IP  and NIC2 and NIC4 to handle NETBEUI?

This way when you ping, only NIC1 and NIC3 will talk and an nbtstat will only go through NIC2 and NIC4.

Is this what you are trying to accomplish?

Commented:
this is an issue related to name resolution.
what do you use?: DNS, WINS, HOSTS file, LMHOSTS file

can you check the ip addresses that correspond to the names in the one you use in the list above?

regards.

Author

Commented:
to tduprey
No it is not exactly that.I just want change the pinging patern, no matter what protocol are used. but obviously i will prefer to use TCT/IP as w2k is there.

cincin77 question
I am not using any DNS,DHCP or WINS, its workgroup environment, I have made them to assigne automatically by system(win2k prof) and it uses 169.254.x.x

Ok i will refine the question. It is just to change the pinged ip address so that when you ping it pings to another address available on that pc (wheather auto or manual, i think does't matter)
Example:
First NIC1: nameof machine pc1(assigned by me)
IPadress:169.254.118.90 (auto assigned)
Second NIC2: in the same pc1 machine
IPaddress:169.254.34.238
----------------------------
Nic 3: Name of machine pc2 (assigned by me)
IPaddress:169.254.17.153 (auto generated by system)
NIC4 :In this second machine(pc2)
IP address: 169.254.159.194

Here is again the question
When i ping (ping pc1) it pings 169.254.118.90,(from interface 3 ) ok fine.
But now when i ping (ping pc2, and i assume it is interface 1) it pings to 169.254.159.194, where as i should have pinged to the 169.254.17.153.Same is opposite side.
I think i is some thing connecting to binding an ip address with name.

Please advise how to do it.
Thanks for your comments
jatsw
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Top Expert 2004

Commented:
> am not using any DNS,DHCP or WINS, its workgroup environment, I have made them to assigne automatically by system(win2k prof) and it uses 169.254.x.x

If you use auto assign ip addresses, then you are telling the machine to use dhcp, you just don't have a dhcp server

go to a prompt on both machnes and type
ipconfig /all |more
and post the results there

Author

Commented:
for stevenlewis comments
info required is pasted below:

ipconfig /all |more

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : pc1
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : CNet PRO200 PCI Fast Ethernet Adapt
r
        Physical Address. . . . . . . . . : 00-80-AD-77-CA-BF
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Autoconfiguration IP Address. . . : 169.254.118.90
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . :

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139(A) PCI Fast Etherne
 Adapter
        Physical Address. . . . . . . . . : 00-40-F4-4F-79-96
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Autoconfiguration IP Address. . . : 169.254.34.238
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . :

----------------------------------------------------------------------------------
following is from pc2

C:\>ipconfig /all | more

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : pc2
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 3:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139(A) PCI Fast Ethernet
 Adapter
        Physical Address. . . . . . . . . : 00-40-F4-60-AA-E3
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Autoconfiguration IP Address. . . : 169.254.159.194
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . :

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8029(AS) PCI Ethernet Ada
pter
        Physical Address. . . . . . . . . : 00-80-AD-8C-1C-73
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Autoconfiguration IP Address. . . : 169.254.17.153
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . :

hope it will be useful
regards
jatsw
Top Expert 2004
Commented:
try setting static ip addresses (you can use the same ones the are being self assigned) and then use a hosts file and lmhosts file
hosts file
NT
location
C:\WINNT\SYSTEM32\DRIVERS\ETC\hosts
also see here
http://www.smartin-designs.com/
here
http://www.smartin-designs.com/hosts_info_left.htm
and here
http://www.octopus.iastate.edu/files/11edit_hostfile.html
9x http://www.brother.com/european/networking/chapter18/chapter18_tcpip-hosts-file.html

lmhosts
http://www.realcomputerguy.com/lmhosts.htm
and
http://support.microsoft.com/default.aspx?scid=kb;en-us;314884
use the #PRE tag

Commented:
I have to ask why on earth you are using two nics in each machine with IP Addresses on the same subnet? This is definately not recommended. There is one exception though, and thats Teaming but I dont think the Realtec drivers support it.

There should only ever be 1 route between two MS machines when using TCPIP.
Those addresses are being assigned by APIPA.  

As asked above, why are you doing this??  

Author

Commented:
Hi Al
Every one contributed nicely to my question but my problem/clarification is yet to be solved.I got some clue from stevenlewis comments and refered articles.These are further going to clear my questions.excellent articles.

There fore I close this question and thank you all for your participation and contributions.

jatsw
You should accept stevenlewis's comment as an answer to close the question.

HW

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial