Using the OpenStack dashboard, we have launched two containers, Container-1 and Container-2, on two different hosts, Host-1 and Host-2. We attached both containers to a virtual network called VirtualNet (
10.10.20.0/24). During container creation, both of them get an IP address via DHCP, as provided in the figure attached. Container-1 can successfully ping to 10.10.20.176 (Container-2 eth0 address) and Container-2 can successfully ping to 10.10.20.113 (Container-1 eth0 address).
The ping is not successful. We captured the packets in
Container-1 using tcpdump command on eth0, and we were able to observe that the icmp echo requests are received and the icmp echo replies are generated. However, the responses are not reaching back to Container-2. The screenshot of the tcpdump on eth0 for Container-1 is attached herewith. In the security groups, we added a rule allowing all ICMP traffic (ingress and egress) to