D
D
Dmitry2017-08-02 08:55:56
Computer networks
Dmitry, 2017-08-02 08:55:56

How does a computer detect an ip conflict?

Hello!
There are two computers - PC1 and PC2. Both are in the same broadcast domain. On PC1, the network settings are set statically: ipv4 - 192.168.1.2/24 gw 192.168.1.1.
When setting the same parameters on PC2, it accordingly issues a conflict of ip addresses.
And actually I have such a question, how does the computer determine the conflict, and almost instantly using the settings?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Chudnovsky, 2017-08-02
@Frankenstine

Broadcast request via ARP protocol, asking "who has ip 192.168.1.2, respond".
If a response is received, the conflict is obvious.

09:11:46.926913 ARP, Request who-has 192.168.1.2 tell 192.168.1.95, length 28
09:11:46.927221 ARP, Reply 192.168.1.2 is-at ac:22:0b:29:ab:79, length 46

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question