The cavernous segment, or C4, of the internal carotid artery begins at the petrolingual ligament and extends to the proximal dural ring, which is formed by the medial and inferior periosteum of the anterior clinoid process.