You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shared network UI constraints prevent VR IP from matching gateway IP #12953
When creating a shared network, the CloudStack UI enforces two mutually exclusive constraints:
Gateway IP cannot be within the guest IP range
Virtual router IP must be within the guest IP range
This makes it impossible for the VR IP and gateway IP to match. As a result, the VR health check (gateways_check.py) fails permanently since nothing responds at the gateway IP in a virtual environment.
Steps to reproduce:
Create a shared network in a Security Group zone
Attempt to set the VR IP to match the gateway IP
UI returns error: The gateway ip should not be part of the ip range being added
Attempt to set VR IP outside the guest range
UI returns error: Router IPv4 IP provided is not within the specified range
Expected behavior:
Allow the VR IP to be designated as the gateway IP, or provide a supported configuration path where the VR IP and gateway IP can match.
Workaround:
Manually update nics.gateway and vlan.vlan_gateway in the database to match the VR's assigned IP.
CloudStack version: 4.22.0.0
Hypervisor: KVM
Zone type: Security Group zone
Hi @llukeell! I've categorized this issue as feature based on the following analysis:
Reasoning: This is a feature request to modify UI constraints for shared network configuration, specifically to allow VR IP to match gateway IP, as indicated by the "required feature described as a wish" section.
@llukeell , I think one would use a shared network if the VMs need direct access to the gateway provided and not need to have their connectivity go through the VR, hence the VR IP would never be that of the gateway. What you describe would be isolated network functionality.
@llukeell , I think one would use a shared network if the VMs need direct access to the gateway provided and not need to have their connectivity go through the VR, hence the VR IP would never be that of the gateway. What you describe would be isolated network functionality.
Activity
boring-cyborg commentedon Apr 2, 2026
Thanks for opening your first issue here! Be sure to follow the issue template!
github-actions commentedon Apr 3, 2026
🏷️ Issue Triaged
Hi
@llukeell! I've categorized this issue as feature based on the following analysis:Reasoning: This is a feature request to modify UI constraints for shared network configuration, specifically to allow VR IP to match gateway IP, as indicated by the "required feature described as a wish" section.
View Triage Details
Analysis
Recommended Next Steps
References: Triage run §23949484533
DaanHoogland commentedon Apr 8, 2026
@llukeell , I think one would use a shared network if the VMs need direct access to the gateway provided and not need to have their connectivity go through the VR, hence the VR IP would never be that of the gateway. What you describe would be isolated network functionality.
please clarify if I see it wrong.
weizhouapache commentedon Apr 9, 2026
+1 with what @DaanHoogland said.
@llukeell
what's your use case to have VR as gateway in shared network ?