Bangladesh posted 271 for seven against India in the second ODI of the three-match series here on Wednesday. Opting to bat, Mehidy Hasan Miraz (100 not out) slammed a maiden ODI century and forged a 148-run stand with Mahmudullah (77) to lift Bangladesh to a challenging total after being reduced to 69 for six in 19 overs.