Fixes #4883: Add deduplication logic on IPs for same interface