ComputersNetworks

IP Address Conflict: Detection and Resolution

The forums periodically raise the issue of the work of networks that contain the same IP address in one physical segment. It turns out the so-called IP address conflict in the network. After reading many of these forums, it becomes clear that not everyone understands this process correctly, so many people start to give out for the facts various fictions and guesses that are far from the truth. Not long ago, on one excellent resource of system administrators, this issue was vigorously discussed. In this regard, there was a need to somehow clarify the situation that has arisen. The format of forums is the exchange of chains consisting of questions and answers to them, and in the article you can talk about everything consistently.

Conflicting IP addresses on the network and network protocols

The only thing responsible for controlling the duplication of network addresses is the protocol for converting ARP addresses. It is possible to present in a certain form all this interaction. When a new IP address is received, the Node A sends a special bouacaste to the voluntary request in the ARP format. It is important to understand that the whole process is not affected by the IP address of the DNS server. The request is a special form of information transfer, in which the SPA and TRA fields contain their own addresses. If an answer was received to this request, then this is the conflict of the IP address in the network. If there is no answer, then there is no duplicate address, and it is unique on the network. The situation is much more interesting when the answer comes, what happens in the network in this case?

The node sending the request to the network acquires the status of the so-called attacking node, and the one that responded to the request gets the status of the attacked node. What happens to each of them in the process of detection of this conflict?

Consider the attacking node. If it did not have a dynamic IP address, and the configuration is done manually, then after receiving the response, the address initialization is reset, that is, the node can not assign a conflicting address to the interface. A record of this will be recorded in the system log and an error will be displayed on the screen. If the address is configured via DHCP, then the client will check for conflict the address that it received from the DHCP server in a special DHCPOFFER package. In the event that it appears that the address from DHCPOFFER is duplicate, after the client receives a response to the request, a special DHCPDECLINE package will be sent to the DHCP server. Depending on the implementation of the service, this address will be marked as faulty, after which it must be removed from the list of free addresses. After that, the client will make new attempts to get the ip address from the server by sending DHCPDISCOVER packages.

Now you can consider the conflict of the IP address in the network from the side of the attacked node. They conflict is very simple, if the field is a SPA, then a conflict is established by the node. This fact is also registered in a special event log, and the user receives an error notification. At the same time, the ip address, which caused the conflict , is not removed from the attacked node . After the conflict is established, a mechanism for resolving the conflict that has arisen begins to work. The essence of the problem in this case is as follows: after sending one voluntary request, all the clients of the segment are sent by a certain scheme. The result is the receipt of a picture from the sequential exchange of the three frames.

It is important to understand that the exchange of data by requests and responses is performed only when the address is initialized. If, for example, a node has been configured to a conflicting address before it connects to the network, then after it is turned on, there will be no exchange of data by voluntary requests. In connection with this, both nodes of the network will use this conflicted address, but with each new ARP request, both nodes will generate an error about conflicting addresses.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.atomiyme.com. Theme powered by WordPress.