Separate notworks for services


I need to know of there ability to separate services in network terms at rancher?

we 2 services and in each service, the 1st container is listen on port (e.g 4001), the other containers are looking for him on the same subnet.

due ti that we were looking manging 2 NAT subnets at rancher and couldn’t find the solution for that ?

Could you help on that?

PS: i could do that on Docker Swarm cluster.