Ask Your Question
0

Ansible: What are the network bridges for?

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

dasnessie gravatar image

Hello,

I have trouble understanding the section about https://docs.openstack.org/project-deploy-guide/openstack-ansible/rocky/targethosts.html#configuring-the-network (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
1

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 https://docs.openstack.org/openstack-... (with graphics).

edit flag offensive delete link more

Comments

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
1

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
1

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

novainfinite 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 98 times

Last updated: Dec 15 '18