Check IP versions.