Multiple main nodes same network, sync issue

Is it possible to use multiple nodes running on the same network ,IP, with separate keys ? When I connect one, the other does not sync.

Thank you