cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayapalu <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9317: Enable/disable static NA...
Date Fri, 25 Mar 2016 06:18:57 GMT
Github user jayapalu commented on a diff in the pull request:
    --- Diff: server/src/com/cloud/network/router/ ---
    @@ -778,10 +778,11 @@ public int compare(final PublicIpAddress o1, final PublicIpAddress
o2) {
                     final boolean add = ipAddr.getState() == IpAddress.State.Releasing ?
false : true;
                     boolean sourceNat = ipAddr.isSourceNat();
    -                /* enable sourceNAT for the first ip of the public interface */
    -                if (firstIP) {
    -                    sourceNat = true;
    +                /* enable sourceNAT for the first ip of the public interface as long
as it's source nat. */
    +                if (firstIP && !sourceNat) {
    --- End diff --
    For additional public subnet case, sourceNat should be set to 'true' to add a source nat
rule on VR for the first ip in that subnet. This changes will break that.
    If there is no source nat rule for the additional public subnet the traffic to this subnet
from he VMs always go through the default source nat interface.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message