Ask Your Question

Ansible: What are the network bridges for?

asked 2018-12-14 05:07:26 -0500

dasnessie gravatar image


I have trouble understanding the section about (network bridges in this deployment guide).

These are the general questions I'm trying to find answers for:

  • What are the bridges necessary for? How are they used? (Why) Isn't it possible to use the physical interfaces directly?
  • What are the bridges connecting?
  • (How do I configure the bridges for my setup?)

My setup: I have two identical machines running Ubuntu 18.04, both have two network interfaces.

I know I'm asking really basic questions here, but that's because I feel the docs are seriously lacking here, and the basic info I read about bridges didn't help me to understand what I'm supposed to do at this point of the deployment.

Thank you to everyone who's trying to help me!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-12-14 16:41:08 -0500

updated 2018-12-15 02:20:44 -0500

The bridges connect containers to the network. Each container has its own set of interfaces, and they must somehow be connected to the physical network infrastructure that links the container hosts. This connection is done through bridges.

While I know very little about OSA, if I understand the documentation page correctly, you have to create them (brctl addbr) and attach them to a physical interface or a VLAN interface (brctl addif). See also (with graphics).

edit flag offensive delete link more


Thank you! Just to be sure: Are the containers created by Ansible? Does Ansible connect the container interfaces to the bridges?

dasnessie gravatar imagedasnessie ( 2018-12-18 07:57:27 -0500 )edit

I guess the answer to both questions is yes, but I don’t know enough about this matter to tell you how exactly it is done.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-18 08:21:00 -0500 )edit

answered 2018-12-15 01:51:40 -0500

yasin lachiny gravatar image

the bridges are connected linux server interface to vm interface in compute. and when you bridge an interface it can get multiple ip and this multiple ip is your vms ip it means that if you have 100 vms the interface that you bridge have 100 ip. but the linux server interface that you bridge it do not have ip.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-14 05:07:26 -0500

Seen: 254 times

Last updated: Dec 15 '18