[Openstack] load balancer using iptables rules in neutron

Brian Haley brian.haley at hpe.com
Wed Jun 15 13:19:03 UTC 2016


On 06/15/2016 12:18 AM, Priyanka wrote:
> Hi,
>
> I want to create a basic round-robin layer 3 load balancer. The request would be
> coming from same tenant network and the backend servers would also be in the
> same network. For this the steps I think should be done are: create a neutron
> port (for the load balancer) and attach it to ovs on the neutron node and apply
> ip tables to load balance traffic coming to this port (using the nth patch of
> iptable).
>
> Are the steps I am thinking correct? Also, to which chain should these rules be
> put? Please guide me on this.

Why don't you just use LBaaS?

https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun

Manipulating iptables rules manually will just lead to problems, see a response 
I sent yesterday to this list for an example.

-Brian




More information about the Openstack mailing list