Cloud Proxy nodes may experience connectivity issues if there is an overlap between the Docker and the external environment network.
Cases:
Symptoms:
VCF Operations: 9.1
VCF Operations Cloud Proxy 9.1.1
VMware Aria Operation: 8.16 and above
Starting from Cloud Proxy version 8.16, user-defined bridge networks have been introduced within Cloud Proxy.
If a Docker network overlaps with the external environment network, connectivity problems may occur, as network packets won't be routed outside the Cloud Proxy but will instead be routed internally.
You can use the tracepath <host-address> command to check the route towards the destination host.
Note: there may be multiple containers based on the Cloud Proxy’s type and configuration.
Currently, there is no permanent resolution to update the docker bridge network pool.
Workaround:
Docker does not provide a direct way to modify the subnet of an existing user-defined network without deleting and recreating it. Docker's user-defined network configuration is set at the time the network is created, and there is no built-in command to change the subnet of an active network.
The standard workaround is to remove the existing network and create a new one with the desired subnet configuration.
Steps for Workaround:
docker network lsKeep the network NAME for further use.
docker network inspect <network_name>Under the Containers field, you’ll see a list of all containers connected to the specified network.
docker stop <container_name>docker network disconnect <network_name> <container_name>docker network rm <network_name>docker network create --subnet=<new_subnet> --gateway <gateway> <network_name>docker network connect <network_name> <container_name>docker start <container_name>