Remove the mounting screws from the base of the pedestal using a socket wrench fitted with a properly sized socket.
Slide the pedestal carefully forward, away from the wall. Move the pedestal just enough to provide extra working room.
Loosen the nut that connects the pivot rod to the back of the drainpipe. The pivot rod joins the stopper to a lifting assembly at the rear of the sink. Slide the loosened rod from the drainpipe.
Remove the stopper from inside the sink.
Place a pail or bowl beneath the P-trap to catch spilling water.
Loosen the slip nut at either end of the P-trap using groove-joint pliers. Detach the P-trap, and empty its contents into the pail or bowl.
Loosen the hex-shaped locknut that connects the drainpipe to the sink using the groove-joint pliers.
Force the drainpipe up through the bottom of the sink, breaking the flange seal on the surface of the sink.
Hold the flange seal from above while turning the drainpipe counterclockwise to loosen. If necessary, hold the flange with a damp cloth to provide better grip.
Detach the loosened drainpipe from the flange.
Scrape any remaining putty from the bottom of the drain flange using a slotted screwdriver. Cover the bottom of the flange with a fresh roll of plumber's putty.
Fit the replacement drainpipe through the bottom of the sink until the head emerges through the sink drain hole.
Thread the flange onto the head of the drainpipe.
Tighten the hex-shaped locknut that secures the drainpipe to the underside of the sink.
Join the longer end of the P-trap to the bottom of the drainpipe and the shorter end to the P-trap arm protruding from the wall.
Tighten the P-trap slip nuts by hand before giving a final tightening with the pliers.
Reinstall the stopper into the drain hole. Insert the horizontal rod back into the side of the drainpipe and tighten the locknut.
Slide the pedestal back in place. Thread the mounting screws back into the pedestal base before tightening the screws down.