ravening commented on issue #5365:
URL: https://github.com/apache/cloudstack/issues/5365#issuecomment-905371769


   @weizhouapache yes looks like an issue. I have 5 tiers with cidr 
`10.10.10.*` `10.10.20.*` `10.10.30.*` `10.10.40.*` and `10.10.50.*`
   
   for all tiers the `--to-source` is configured as 10.10.50.254 which is wrong
   
   this is the iptable output
   
   ```
   Chain POSTROUTING (policy ACCEPT)
   target     prot opt source               destination
   SNAT       all  --  10.10.50.0/24        10.10.50.200         to:10.10.50.254
   SNAT       all  --  10.10.50.200         0.0.0.0/0            
to:10.135.122.135
   SNAT       all  --  10.10.40.0/24        10.10.40.139         
to:10.10.50.254 <<<<<<<<<<<<<<< (shoule be 10.10.40.254)
   SNAT       all  --  10.10.40.139         0.0.0.0/0            
to:10.135.122.134
   SNAT       all  --  10.10.30.0/24        10.10.30.128         
to:10.10.50.254 <<<<<<<<<<<<<(should be 10.10.30.254)
   SNAT       all  --  10.10.30.128         0.0.0.0/0            
to:10.135.122.133
   SNAT       all  --  10.10.20.0/24        10.10.20.170         
to:10.10.50.254 <<<<<<<<<<<<< (should be 10.10.20.254)
   SNAT       all  --  10.10.20.170         0.0.0.0/0            
to:10.135.122.132
   SNAT       all  --  10.10.10.0/24        10.10.10.154         
to:10.10.50.254 <<<<<<<<<<<<< (should be 10.10.10.254)
   SNAT       all  --  10.10.10.154         0.0.0.0/0            
to:10.135.122.131
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to