Kioptrix machine

I am not able to ping the Kioptrix machine from kali linux

Try changing the network adapter in the Kioptrix VM. It should be set to Bridged.