Task: add a note about snatted vms

Bug #1051036 reported by Anne Gentle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Tom Fifield

Bug Description

From note to the mailing list: http://markmail.org/message/2ehabewgw6gwql2q

The problem is that the SNAT rule to make the traffic look like it is coming from the floating ip happens in POSTROUTING, which is after the filter rules for the security group are checked. The upshot is that when the filter rules are checked, the traffic still looks like it is coming from the fixed ip, so it doesn't match the security group rule and gets blocked.

...

Note that this means that operators have to be careful to make sure that traffic that is going to other vms does not get snatted. Traffic from vm -> vm accross the fixed network should be fine, as snat rules are skipped in this case, but traffic going to the floating range may still get snatted. The way to ensure traffic doesn't get snatted to the floating range is to explicitly set a
dmz_cidr=x.x.x.x/y
where x.x.x.x/y is the range of floating ips for each pool of floating ips you define. Note that this configuration is also necessary to make source_groups work if the vms in the source group have floating ips.

Anne Gentle (annegentle)
description: updated
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: Confirmed → Triaged
Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/13511

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/13511
Committed: http://github.com/openstack/openstack-manuals/commit/46455f42994c12edc13d5a85d2162cd720e24001
Submitter: Jenkins
Branch: master

commit 46455f42994c12edc13d5a85d2162cd720e24001
Author: Tom Fifield <email address hidden>
Date: Sat Sep 22 12:32:53 2012 +1000

    adding a note about SNAT fun with floating IPs

    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

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.