\lipsum[1-2]

\section{First section}
\lipsum[3-4]
\label{label}

\subsection{First subsection of first section}
\lipsum[5-7]

\subsection{Second subsection of first section}
\lipsum[8-9]


\section{Second section}
See page~\pageref{label}. 
\lipsum[11]

\subsection{First subsection of second section}
\lipsum[12]