Make sure alias can be on the same network on edit

Ticket:	##2503
Merge:	releng/9.1.0
(cherry picked from commit 768f1854277775d4a6c6102b220f5aeb491734f3)