Conflicting field names doesnt allow to have differnet settings

I have two mappings type mpping1 and mapping2

both of them have serverIP. In mapping1 iwant to enable indexing but want to disable on mapping2 how to do that? i am getting exception reg conflicting settings

Having more than one type is not allowed anymore in 6.x.

I am using ES 2.4

Sure. But you should prepare yourself for the future and not doing that anymore.
That will simplify your upgrades in the future.