Docker network creation

Hello, I’m a new Docker user and I’m interested in creating a network in docker in order to connect multiple containers that will have different purposes (FTP Server, HTTP Server, etc) and will be located in different subnets.
I used the following code:

docker network create -d overlay --subnet= --subnet= --subnet= --ip-range= redoverlay

My question is, Did I create the network correctly? Or should I add more information while creating it?, and also, is it possible that using the network above to restrict the internet access for one or multiple subnets that I created?

Thank you.