If you are haiking with your dog and the dog begins to limp and there are not foot/leg issues fond check for lumps and bumps on neck and back it could be a slipped disk that is the cause.
My lab mix has had a on again off again limp for a month or so. I checked effected leg to the shoulder...