Restrict navmesh to certain meshes?

Is it possible to define a navmesh that takes only certain actors/meshes into account? I would like to restrict movement to road meshes and have the navmesh ignore e.g. the landscape. How can I define that?