Work with mixed IP versions