Water supply and drainage pipe