You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/03/28 10:16:44 UTC

[GitHub] ustcweizhou commented on issue #2514: Problem with NAT configuration and VMs not accessing each other via public IPs

ustcweizhou commented on issue #2514: Problem with NAT configuration and VMs not accessing each other via public IPs
URL: https://github.com/apache/cloudstack/pull/2514#issuecomment-376835719
 
 
   @rafaelweingartner  We faced the same issue before.
   it is fixed by adding some rules in ip route tables.
   
   ```
   $ ip route show table Table_eth1
   throw 10.10.1.0/24  proto static
   throw 10.10.2.0/24  proto static
   ```
   eth1 is public interface
   10.10.1.0/24 and 10.10.2.0/24 are cidr of vpc tiers.
   
   The idea came from the code before 4.7 (systemvm refactoring)
   https://github.com/apache/cloudstack/blob/4.5/systemvm/patches/debian/config/opt/cloud/bin/ipassoc.sh
   copy_routes_from_main in line 122

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services