Same IP - mismatched ComputerName

Esikhoob

Distinguished
Jan 27, 2008
23
0
18,510
Hello to all

we have a WindowsXP SP3 PC which have 2 LAN cards(100Mbps).
each LAN card is connected to a different Network Switch.
the networks are Windows WORKGROUP and used for File Sharing .
both of 2 networks, Have computers with IP: 192.168.0.1 .
we are accessing Computers on the network by their COMPUTER NAME.
our problem is:
the COMPUTER NAME of one of these 192.168.0.1 computers ,wrongly point to other one.

the windowsXP's "Network Setup Wizard" will solve this problem, but the problem will be back after sometimes.

this problem began to appear when we upgrade this PC , and Install a NEW windowsXP.

I am not so good in Networking , please Help me.

thankyou.

 

Psychoteddy

Distinguished
Dec 7, 2010
605
0
19,010
"both of 2 networks, Have computers with IP: 192.168.0.1"

Are you running both network cards on the same IP address? If so, I guarantee that this is your problem.
 

Esikhoob

Distinguished
Jan 27, 2008
23
0
18,510
thank you for your Consideration

both 2 network card IP`s Come from DHCP servers with 192.168.0.1 IPs.


192.168.0.1 is set staticly. I can change one of these 2 IP to for example 192.168.0.2 but this configuration was working before , and I am conservative to change.

I had to say old computer that was replaced by this new computer was Win2000.

is there any different Between Win2000 and XP in dealing with computer names.
 

dEAne

Distinguished
Dec 13, 2009
2,190
0
19,860
Set it with one Computer Name - you can set 192.168.0.x to one of the NIC then for the other one leave it automatic (this one connects to the internet). Other computers which connects to this net should have unique names.

On the network page it is best to name the NICs - sample HomeNET (workgroup) then the other name it InterNET. This way you know which NIC connects to something.
 

Esikhoob

Distinguished
Jan 27, 2008
23
0
18,510

all the computer names on whole 2 networks Have Unique names.


there is no internet use on this computer.
 


I was not talking about the DHCP servers, but the DHCP scope in what they give out to the clients. You can change that in the settings, just make it so one starts at .10-.20, and the other starts at .21.
 

Esikhoob

Distinguished
Jan 27, 2008
23
0
18,510
this is for 2 computer that mismatch with each other:
----------------
Host Name: mellat-ser-1
Primary Dns Suffix:
Node Type: Unknown
Ip Routing Enabled: Yes
WINS Proxy Enabled: Yes

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix:
Description: Intel(r) PRO/1000 MT Dual Port Server Adapter
Physical Address:00-30-48-C4-20-14
DHCP Enabled:No
IP Address:192.168.0.1
Aunnet Mask:255.255.255.0
Default Getway:
DNS Servers: 192.168.0.1
Primary WINS Server:"192.168.0.1




------------------
Host Name: mellat-ser-2
Primary Dns Suffix:
Node Type: Unknown
Ip Routing Enabled:Yes
WINS Proxy Enabled:Yes

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix:
Description: Intel(r) PRO/1000 MT Dual Port Server Adapter
Physical Address:00-30-48-74-E2-AE
DHCP Enabled:No
IP Address:192.168.0.1
Aunnet Mask:255.255.255.0
Default Getway:
DNS Servers:192.168.0.1
Primary WINS Server:192.168.0.1


 

Psychoteddy

Distinguished
Dec 7, 2010
605
0
19,010
Humor me and change the IP of one of the adapters... There's no possible way that this could work in any amount. You simply cannot run two separate NICs on the same IP address and expect proper routing to occur.
 

Esikhoob

Distinguished
Jan 27, 2008
23
0
18,510
thank you for consideration

I think I should remind : there is 3 Computers and 4 NICs.
2 NIC on my PCs with dynamic IPs
1 NIC on Mellat-ser-1 with static IP: 192.168.0.1
1 NIC on Mellat-ser-2 with static IP: 192.168.0.1


do the following for me please

In the Run command type Regedit.exe and press Enter.
In the Run command type Regedit.exe and press Enter.
Select the "IPEnableRouter" entry (by default the value is 0 and change it's value to 0
Close Regedit.
Reboot.

I check 2 servers(Mellat-ser-1 & Mellat-ser-2) for "IPEnableRouter".
bouth was "0"



For answering to PsychoTeddy , you are saying:
You simply cannot run two separate NICs on the same IP address and expect proper routing to occur.
I say "Even if two separate NICs exist on 2 different Networked computers , that 2 networks has no physical connection with eachother except on my PC ?"
 

Psychoteddy

Distinguished
Dec 7, 2010
605
0
19,010


Please, just change the IP on one of the NICs and see if it works. It's not going to cause permanent damage so I don't see what the problem is. We can debate the theory behind the problem all we want but until we rule an IP conflict out it's a senseless debate. If it doesn't work, change it back. If it does, problem solved.
 

hav0c

Distinguished
Jan 25, 2011
5
0
18,510
Correct me if i'm wrong as i can see in your settings you are creating several VPN's ,
Why not group your IP so it would be simplier

192.168.0.1 <---- this would be group 1 all group 1 computer should be 192.168.0.x
192.168.1.1 <---- this would be group 2 all group 2 computer should be 192.168.1.x

or if you still want the same ip to both computer try changing the subnet

 

someone19

Distinguished
Jan 16, 2011
441
3
18,810

There is a HUGE difference between windows 2000's windows networking and XP's. MASSIVE!!!!

The problems you are experiencing here were the same as before, but it didn't matter - you WEREN'T using TCP/IP to connect the machines together!

Win2k used NETBIOS to communicate between windows machines (us old timers remember those days) and NETBIOS wasn't a routable protocol. XP switched to TCP/IP for the primary communication between computers, and even implemented NETBIOS _OVER_ TCP/IP.

In a WinXP environment you can't have two computers with the same IP address attached to the one PC. Its like having two co-workers named Joe. You know who you want to talk to, so you communicate just fine(win2k), faces are the computer names, Joe is the IP address. You hire an intern to deliver messages (xp) and you tell the intern 'take this memo to joe' but it goes to the wrong person. Why? Because they both have the same address. 192.168.0.1

All connections to one switch should be 192.168.0.X, and all of the computers on switch 2 need to be changed to 192.168.(something other than 0).X
 


You need to stop spinning your wheels and just set up the computers and network cards so that no 2 have the same IP, it will solve your issue. End of story. You would have been working back on 12/13 when me and Teddy said the duplicate IP was the issue.