I am guessing( since you didn't tell us what make it is) this is a JD backhoe. More info would be helpful, If only the front axle is pulling somthing in the rear end is broken. The trans must be ok since the front wheels turn. Is there a short driveshaft between the trans and rear end on this machine
Bill