Roger Federer made it 99 victories at the Australian Open when beating world No 41 Filip Krajinovic in straight sets to reach the third round.