mirror of https://github.com/apache/cloudstack.git
bug 13643: Fix assigned router gateway IP
The ExternalGuestNetworkGuru need to respect some of existed IP assignment, especially router. Otherwise router can't get correct IP address(gateway IP). status 13643: resolved fixed Reviewed-by: Alex
This commit is contained in:
parent
17ac271c3e
commit
03aa8d727c
|
|
@ -213,7 +213,8 @@ public class ExternalGuestNetworkGuru extends GuestNetworkGuru {
|
|||
|
||||
if (_networkMgr.networkIsConfiguredForExternalNetworking(config.getDataCenterId(), config.getId())) {
|
||||
profile.setStrategy(ReservationStrategy.Start);
|
||||
profile.setIp4Address(null);
|
||||
/* We won't clear IP address, because router may set gateway as it IP, and it would be updated properly later */
|
||||
//profile.setIp4Address(null);
|
||||
profile.setGateway(null);
|
||||
profile.setNetmask(null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue