Multiple AI movement / Navmesh

Hi Guys

I’ve really tried to search forums, internet and videos for an answers to my lack of understanding this Navmesh.

Basicly I want to have to AI characters to move around the map. Character 1 should be able to move around the hole map and Character 2 should only be allowed to move in some places.

In my (beginner) head, the easiest would be to have one Character use one navmesh and the other to use an other navmesh.

Now I’m getting to point, where I think I just can’t find the logic in how to achieve this and understand the navmesh(use of agents and query filter etc)

Could someone be kind to explain how I could achieve this and maybe how the AI navmesh works if you don’t want a AI to move into a certain area, but others to do?