Chief of the Integrated Defence Staff Air Marshal PP Reddy on Monday said that Beijing's growing relationship with Islamabad has complicated India's security challenges, adding that the county must be prepared for a two-front war with China and Pakistan.