Solving one IP from another. This fixes #5120.