Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the network structure of Calico?

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about the network structure of Calico. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Today you will run the container and analyze the network structure of Calico.

Run container bbox1 in host1 and connect to cal_net1:

Docker container run-net cal_net1-name bbox1-tid busybox

View the network configuration of bbox1.

Cali0 is calico interface and the assigned IP is 192.168.119.2. Cali0 corresponds to the interface cali5f744ac07f0 of host1 number 11.

Host1 will be responsible for forwarding packets with the destination address of bbox1 as router.

All data sent to bbox1 is sent to cali5f744ac07f0 because cali5f744ac07f0 and cali0 are a pair of veth pair,bbox1 that can receive data.

The host1 network structure is shown in the figure:

Next we run the container bbox2 in host2, which is also connected to cal_net1:

Docker container run-net cal_net1-name bbox2-tid busybox

IP is 192.168.183.65.

Host2 added two routes:

The destination address is the route for the host1 container subnet 192.168.119.0 Universe 26.

The destination address is the route of the local bbox2 container 192.168.183.65.

Similarly, host1 automatically adds the route to 192.168.183.64x26.

After completing the above preparations, we will discuss the connectivity of the Calico network in the next section.

The above is what the network structure of Calico shared by the editor is. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report