Galvanized pipe replacement
I have a home built in 1965. I have galvanized piping as drain pipes. My washing machine drain pipe overflows every time I run a wash cycle. I have shoved a garden hose down the drain and run it full blast and it does not overflow. This leads me to believe the drain has narrowed due to corrosion and is not completely blocked. I think the pressure and amount of water from the washing machine is just too much for the drain. I have not removed the drywall yet to see exactly what is going on inside the wall. I want to replace the pipe. I want to install another drain and water lines for a utility sink while I am at it. The pipe appears to go straight into the foundation and up to the roof for a vent. I am wondering if I should just replace part of the pipe with PVC and couplings or if I should replace as much as I can before the pipe goes to the foundation. I am an amateur handyman and I am not sure if this task is beyond my scope of abilities. Any advice would be much appreciated.