Hi
You can take a look at this thread for one kind of solution: Navigation costs - Get units to walk along roads like humans