Use a vlan on 10.0.0.1/4


Recommended Posts

Hello!

In order to have to use hundreds of dockers, I have the obligation to go to vlan for my dockers.

 

Currently, I have my br1 (ethernet) bridged to my home local network.

 

And I also have my nginx proxy manager on 192.168.1.200

 

I will need to have a virtual network for my dockers in 10.0.0.1 in order to take advantage of the range 10.0.0.1 - 10.255.255.255

but that I can use on nginx,

for example: 192.168.1.160 to my virtual network, and that each docker can be used from a port

example:

I have the subdomain: docker01.name.fr:25300

which points to my vlan which will have as input 192.168.1.160

And my docker01 (let's imagine) 10.0.0.2:25300

and another docker on docker2.name.fr:20400 to 192.168.1.160 to docker2 10.0.0.3:20400

 

Currently my server is on my local home network at farbot.local/192.168.1.60

 

To summarize, I want to have only one local IP for my dockers, and we differentiate them by the port

 

How could I create this infrastructure? namely that I must be able to access the internet in the dockers, and the dockers must be able to communicate with each other on the vlan

 

Thanks in advance !

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.