I am trying to create a lxc bridge network using default setting from juju bootstrap. When I created the bridge network,I noticed it makes use of my org internal subnet. I am having the following questions.
Incase, For example lxc make use of the random unused subnet; the lxc bridge network 199.133.x.x/24 and my host is in 192.138.x.x/27 subnet. I can ping my lxc containers from my host network and deploy my application in the containers with IP 192.139.x.1. And I expost port 80 using lxc config device , so that the traffic from to the host network is transferred to the container network on port 80.Later on, someone from my our org create a subnet range 199.133.x.x/24 for their application purpose as they haven’t aware of my container network. And I could see a VM with 192.139.x.1. is created and an web application is exposed on port 80 and this VM is reachable from my host server. So in that scenario, it will create a conflict right?
The lxc device will route traffic on my host to the destination containers but nslookup or curl on the 192.139.x.1:80 directs to which application ?
So what should I do in order to eliminate this ?
Shall I go to different class c subnet range, which is not in use.
And what will happen if we create such lxc bridge on more than 10 servers and it randomly used a subnet, range which is part of our internal network, this could cause an outage right ?
Thanks,
Ham