[
https://issues.apache.org/jira/browse/CLOUDSTACK-9244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107041#comment-15107041
]
ASF GitHub Bot commented on CLOUDSTACK-9244:
--------------------------------------------
GitHub user remibergsma opened a pull request:
https://github.com/apache/cloudstack/pull/1352
CLOUDSTACK-9244 Fix setting up RFC1918 routes
Public ip var was empty so routes were always set. Corrected this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/remibergsma/cloudstack
cloud-early-config-route-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1352.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1352
----
commit d6015700532c7c4676f4d402611fa4738cd4045d
Author: Remi Bergsma <[email protected]>
Date: 2016-01-19T17:24:49Z
CLOUDSTACK-9244 Fix setting up RFC1918 routes
----
> Wrong IP routes added to SystemVM when Public IP is in RFC-1918 space
> ---------------------------------------------------------------------
>
> Key: CLOUDSTACK-9244
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9244
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: SystemVM
> Affects Versions: 4.7.0
> Environment: Centos7 Host
> Reporter: Aerts Nick
>
> Even when a public ip is within RFC-1918 space routes to this ip space are
> getting added to the routing table of the systemvm.
> Example routing table:
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 10.0.12.254 0.0.0.0 UG 0 0 0 eth2
> 10.0.0.0 10.0.10.254 255.0.0.0 UG 0 0 0 eth1
> 10.0.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 10.0.12.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 172.16.0.0 10.0.10.254 255.240.0.0 UG 0 0 0 eth1
> 192.168.0.0 10.0.10.254 255.255.0.0 UG 0 0 0 eth1
> This causes the systemvm to be unreachable from within the 10.0.0.0/8 address
> range
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)