Welcome to the Linux Foundation Forum!

Network question

I'm not sure I can understand the marked phrase:

According to the definition of bridge here https://wiki.linuxfoundation.org/networking/bridge it connects two ethernet networks. So when we create a bridge I expect rather two


  • serewicz
    serewicz Posts: 1,000

    Did you follow the link to the CNI GitHub repo and read up on the what the library does along with a network plugin?

  • b10s
    b10s Posts: 45

    @serewicz yes, just did it. It's also mind blowing (for beginners):

    Just need help to understand what does type "bridge" mean since it doesn't match with my (very immature) understanding of a bridge - bridge is a device, it is not a network. When you create a bridge I expect to see two or more networks or interfaces which will be bridged.

    Also was not able to find it here https://github.com/containernetworking/cni/tree/master/Documentation

  • serewicz
    serewicz Posts: 1,000

    Describing the inner workings of a software defined network can be a lot. Definitely more than what a forum post could hope to answer. A bridge would be part of the configuration. Think of it as how a host connects to the software defined network, and may also indicate the range of IP address that an agent should provide to containers on that network. Also the specifics may differ depending on which plugin is in use. Calico is different than Weave, for example. In general a bridge is about joining two dissimilar networks. As CNI is a library structure to allow many plugins to be developed and deployed with minimal issues integrating with various environments. As the main project page explains, here are places to find more information:

    For any questions about CNI, please reach out on the mailing list:

    Email: cni-dev
    IRC: #containernetworking channel on freenode.org
    Slack: containernetworking.slack.com



Upcoming Training