ccycv commented on issue #8158:
URL: https://github.com/apache/cloudstack/issues/8158#issuecomment-1929144138

   @weizhouapache It is easy to replicate. Create a shared type; shared network 
in a CloudStack with advanced settings. And just add an additional Guest IP 
range, you will see how the cloud.conf is populated. I didn't had this issue in 
the previous version.
   
   This was the configuration with the initial Guest IP range:
   
   listen-address=127.0.0.1,181.xx.xxx.178
   dhcp-range=set:interface-eth0-0,181.xx.xxx.178,static
   dhcp-option=tag:interface-eth0-0,15,shape.host
   dhcp-option=tag:interface-eth0-0,6,181.xx.xxx.178,8.8.8.8,8.8.4.4
   dhcp-option=tag:interface-eth0-0,3,181.xx.xxx.177
   dhcp-option=eth0,26,1500
   dhcp-option=tag:interface-eth0-0,1,255.255.255.240
   
   After I added an additional Guest IP range, it was replaced with the last 
added one.
   
   listen-address=127.0.0.1,181.xx.xxx.245
   dhcp-range=set:interface-eth0-0,181.xx.xxx.245,static
   dhcp-option=tag:interface-eth0-0,15,shape.host
   dhcp-option=tag:interface-eth0-0,6,181.xx.xxx.245,8.8.8.8,8.8.4.4
   dhcp-option=tag:interface-eth0-0,3,181.xx.xxx.225
   dhcp-option=eth0,26,1500
   dhcp-option=tag:interface-eth0-0,1,255.255.255.224
   
   Before, where there was no issue, there was a config for each class in this 
cloud.conf; now, no matter how many Guest IP ranges you add, you will have only 
one.
   
   
   


-- 
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