Washing machine drain into 4" cast waste stack
I think you are going to have more difficulty drilling into the cast iron stack, than routing a new pipe. Follow the route of the stack down with your 2 1/2 pipe, and then feed it into your waste water system, using the correct fitting