How do you replace a section of cast iron drain pipe?
You're going to have to cut out the pipe, and replace it with PVC drain pipe.  You can get rubber connectors (fernco) for the transition.

Here's a youtube how-to: http://www.youtube.com/watch?v=EFaJyIzyiYA