Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Could you be a bit more specific. When you say "IP address assignment will fail" will the command return non-zero / error output or will I need to check back with another command. That was really the point of the question. Commented yesterday
  • have you tried? This is really riskless to try on your machine, an interface can have any number of IP addresses, and you can just try to add the ip address of an existing neighbor). Check the contents of ip addr show after you tried to add the conflicting address! Commented 14 hours ago
  • These days I'm very cautious around "works on my machine" solutions. The point of this question to ask how it can be detected. Commented 14 hours ago
  • 1
    as said, you let Linux DAD run on it and check the output of ip addr show. That's how you'd do it. (you can also read the interface address properties with other userland tools than ip, but that's not any better than reading ip) Commented 14 hours ago
  • (DAD is, as far as I read RFC 2462 right now, not idempotent: the pure sending of the request packets changes the available addresses that other nodes might consider. As such, there's no "harmless probing". You really ought to use the address you asked for afterwards Commented 13 hours ago