There is currently no way to disable nova's snat rule, which causes
problems for some network configurations with an external gateway.
This patch allows the snat to be completely disabled by setting
a blank value for routing_source_ip.
This patch also makes the snat rule a little more specific, only
snatting traffic that is destined for the public interface (or
the floating interface if it is defined). This allows the snat
to work without changing routing_source_ip and also ensures that
an instance assigned multiple ips from different floating pools
will connect from the appropriate address for each pool
Reviewed: https:/ /review. openstack. org/12727 github. com/openstack/ nova/commit/ 959c93f6d3572a1 89fc3fe73f1811c 12323db857
Committed: http://
Submitter: Jenkins
Branch: master
commit 959c93f6d3572a1 89fc3fe73f1811c 12323db857
Author: Vishvananda Ishaya <email address hidden>
Date: Mon Sep 10 11:37:39 2012 -0700
Fixes snat rules in complex networking configs
There is currently no way to disable nova's snat rule, which causes
problems for some network configurations with an external gateway.
This patch allows the snat to be completely disabled by setting
a blank value for routing_source_ip.
This patch also makes the snat rule a little more specific, only
snatting traffic that is destined for the public interface (or
the floating interface if it is defined). This allows the snat
to work without changing routing_source_ip and also ensures that
an instance assigned multiple ips from different floating pools
will connect from the appropriate address for each pool
Fixes bug 1048765
Change-Id: I18be88a3dbb7a9 f4762db7beefc94 e07b8310100