Discussion:
[Openstack] [OpenStack][Compute-Neutron] Is it possible to create flat network from different NICs
Soheil Pourbafrani
2018-11-21 11:08:04 UTC
Permalink
Hi,

I installed OpenStack on One node (for test) and creating a flat external
network I could connect VMs to the provider network (internet).

In the production environment, we have 4 NIC on each server and each server
(compute node) will run 4 instances. My question is, is it possible to
create a separate external network based on each NIC (so 4 external
networks) and run each instance using one of them?
Slawomir Kaplonski
2018-11-21 11:21:35 UTC
Permalink
Hi,

Yes, that should be possible. You can create 4 bridges on compute node and add all of them to bridge_mappings config option.
Then You can create 4 networks with different physical_network for each of them and agent will know which bridge should be used for ports from each network.
It is described e.g. in [1].

[1] https://ask.openstack.org/en/question/94206/how-to-understand-the-bridge_mappings/?answer=94230#post-id-94230
Hi,
I installed OpenStack on One node (for test) and creating a flat external network I could connect VMs to the provider network (internet).
In the production environment, we have 4 NIC on each server and each server (compute node) will run 4 instances. My question is, is it possible to create a separate external network based on each NIC (so 4 external networks) and run each instance using one of them?
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Slawek Kaplonski
Senior software engineer
Red Hat


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : ***@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cg
Soheil Pourbafrani
2018-11-21 11:38:01 UTC
Permalink
Thanks a lot.
Post by Slawomir Kaplonski
Hi,
Yes, that should be possible. You can create 4 bridges on compute node and
add all of them to bridge_mappings config option.
Then You can create 4 networks with different physical_network for each of
them and agent will know which bridge should be used for ports from each
network.
It is described e.g. in [1].
[1]
https://ask.openstack.org/en/question/94206/how-to-understand-the-bridge_mappings/?answer=94230#post-id-94230
Post by Soheil Pourbafrani
Hi,
I installed OpenStack on One node (for test) and creating a flat
external network I could connect VMs to the provider network (internet).
Post by Soheil Pourbafrani
In the production environment, we have 4 NIC on each server and each
server (compute node) will run 4 instances. My question is, is it possible
to create a separate external network based on each NIC (so 4 external
networks) and run each instance using one of them?
Post by Soheil Pourbafrani
_______________________________________________
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
—
Slawek Kaplonski
Senior software engineer
Red Hat
Continue reading on narkive:
Loading...