Host name duplication

Satish_Jana

Honorable
Feb 4, 2014
8
0
10,510
Hi All,

Host name duplication exists in my network

Scenario :
- Consider Comp1 in VLAN1 and Comp2 in VLAN2
- If i change the computer name as Comp1 in VLAN2 it accepts without any error and if i ping Comp1 it gives me a result the ip address belongs to VLAN2

Please let me know in the scenario if we are give Comp1 in VLAN2 in there any way we can get an alert live "same computer name already exists in your network"

Regards,
Satish Jana
 
They don't exist in the same network; that's the point of VLANs. They're on separate networks that merely happen to share the same cable or switch at some point.

VLANs effectively allow you to run air-gapped networks down the same cable (or fibre). The second VLAN is not in any way visible from the first.
 

hubbardt

Distinguished
Nov 19, 2004
1,138
0
19,460
Yes you will be able to join the domain and shortly after that you will see errors about duplicate names on the network.
The way it works is:

computerA called COMPUTER has an IP address of 192.168.1.1 joins the domain and registers its name and IP with DNS
computerB also called COMPUTER has an IP address of 192.168.1.2 joins the domain and adds another DNS record of COMPUTER with it's own IP address

If you want to connect to COMPUTER then DNS looks up the IP address in DNS.
DNS will have two IP addresses for the name COMPUTER and randomly (round robin but that's beside the point) resolve to one of them
This means you cannot be sure which machine you connect to

Does that make sense?
 

Satish_Jana

Honorable
Feb 4, 2014
8
0
10,510
I'm not using WINS in my network.

My Domain servers reside in shared VLAN i.e., 192.166.X.X
VLAN1 ip series is 192.168.1.X
VLAN2 ip series is 192.168.2.X

this is my network
shared VLAN can access VLAN1 and VLAN2, but VLAN1 cannot access VLAN2 vice versa.