Skip to content

Commit

Permalink
adding a note about SNAT fun with floating IPs
Browse files Browse the repository at this point in the history
fixes bug 1051036

As in the bug report, the implementation of floating IPs
casues some issues with vm-vm traffic. This note aims to explain
the issue and provide the workaround

Change-Id: I0c104b1681ec57781ca2fe4753dfc1e412f26c97
  • Loading branch information
fifieldt committed Sep 22, 2012
1 parent cdc98da commit 46455f4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/src/docbkx/openstack-compute-admin/computenetworking.xml
Expand Up @@ -1669,6 +1669,20 @@ public_interface=vlan100
</programlisting>
<para>Restart the nova-network service if you change
nova.conf while the service is running.</para>
<note><title>Traffic between VMs using floating IPs</title>
<para>Note that due to the way floating IPs are implemented using a
source NAT (SNAT rule in iptables), inconsistent behaviour of
security groups can be seen if VMs use their floating IP
to communicate with other virtual machines - particularly on
the same physical host. Traffic from VM to VM accross the
fixed network does not have this issue, and this is the
recommended path. To ensure traffic doesn't get SNATed
to the floating range, explicitly set
<literal>dmz_cidr=x.x.x.x/y</literal>. x.x.x.x/y is the
range of floating ips for each pool of floating ips you define.
This configuration is also necessary to make source_groups work
if the vms in the source group have floating ips.</para>
</note>
</section>
<section
xml:id="Creating_a_List_of_Available_Floating_IP_Addresses">
Expand Down

0 comments on commit 46455f4

Please sign in to comment.