You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "sjanssen15 (via GitHub)" <gi...@apache.org> on 2025/05/13 10:53:26 UTC

[D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

GitHub user sjanssen15 created a discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

**I'm trying to get the follow scenario working (as a proof of concept):**
- Isolated network with ROUTED dynamic network (ACS 4.20 feature)

**I have the following topology:**
KVM hosts with each 4 NICs:
- Guest: VXLAN (5000-6000)
- Public: VLAN
- Storage: VLAN
- Management: VLAN

**What I configured:**
**Setup the Zone with:**
- a IPv4 subnet (10.46.0.0/16)
- Added AS Number range (65060 - 65069)
- Added BGP Peer

**Created a new Network Offering with the following settings:**
- Isolated
- Traffic type Guest
- Persistent: false
- Default egress policy: true
- Availability: Optional
- Specify VLAN: false
- Routing mode: Dynamic
- Specify AS number: false
- Specify IP ranges: false
- Network Mode: ROUTED
- Supported services
  Dns : VirtualRouter
  Firewall : VirtualRouter
  UserData : VirtualRouter
  Dhcp : VirtualRouter

**Created a Guest Network with the new offering:**
- CIDR size: 24
- Left the rest empty/default
After creating it, it is in Allocated state but it doesn't acquire a IPv4 CIDR. Because of this, I'm unable to choose this network when deploying a virtual machine. When I try to force a deployment of an instance in this network:
- In the deploy page (UI) it says: CIDR: undefined
- After that the following error:
Unable to acquire Guest IP address for network Network {"id": 204, "name": "CBS - Isolated ROUTED Dynamic", "uuid": "e9899298-f470-4d5b-855c-18bf0ea4c4ad", "networkofferingid": 29}

**My question:**
I tried official documentation online and configured all settings. I also had a look at the video made by Wei Zhou and followed all those steps as well. Am I missing some crucial setting in order to deploy a network that will be usable by an instance?

GitHub link: https://github.com/apache/cloudstack/discussions/10855

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

Hi @sjanssen15 
thanks for trying out. I am glad to see.it.

I tried the steps you shared (except the step "add bgp peer"). the network is created without issue

![image](https://github.com/user-attachments/assets/e98da071-ede9-44cf-9cb0-3776e5278c1c)

I use the default global settings

![image](https://github.com/user-attachments/assets/6803157b-f516-4aa4-8ef8-23d691c67719)



GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13130871

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

Hi Wei, thanks for responding! This setting is default and set to true in my environment (fresh install).

See attached file with log. It's rather large log, hope that's ok
[Uploading management-server.log…]()


GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13131750

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

@sjanssen15 
is `routed.ipv4.network.cidr.auto.allocation.enabled` set to `false` in your environment ?

can you share some logs ?

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13131297

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

@sjanssen15 
The issue is caused by vxlan (I use vlan)

I will create pull request to fix it

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13132813

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

see #10861 

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13132908

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "mkriegs (via GitHub)" <gi...@apache.org>.
GitHub user mkriegs added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

@weizhouapache you checkt for ipv6 asswell? Or only ipv4 supported?

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13133241

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 edited a comment on the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

Hi Wei, thanks for responding! This setting is default and set to true in my environment (fresh install).

See attached file with log. It's rather large log, hope that's ok


GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13131750

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

> Thank you! If I can do something for you like testing, let me know

@sjanssen15 
it would be great, thanks
do you need some guidance how to build the project or packeges, etc ?

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13133595

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 closed a discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

**I'm trying to get the follow scenario working (as a proof of concept):**
- Isolated network with ROUTED dynamic network (ACS 4.20 feature)

**I have the following topology:**
KVM hosts with each 4 NICs:
- Guest: VXLAN (5000-6000)
- Public: VLAN
- Storage: VLAN
- Management: VLAN

**What I configured:**
**Setup the Zone with:**
- a IPv4 subnet (10.46.0.0/16)
- Added AS Number range (65060 - 65069)
- Added BGP Peer

**Created a new Network Offering with the following settings:**
- Isolated
- Traffic type Guest
- Persistent: false
- Default egress policy: true
- Availability: Optional
- Specify VLAN: false
- Routing mode: Dynamic
- Specify AS number: false
- Specify IP ranges: false
- Network Mode: ROUTED
- Supported services
  Dns : VirtualRouter
  Firewall : VirtualRouter
  UserData : VirtualRouter
  Dhcp : VirtualRouter

**Created a Guest Network with the new offering:**
- CIDR size: 24
- Left the rest empty/default

After creating it, the network is in Allocated state but it doesn't acquire a IPv4 CIDR (it's empty). Because of this, I'm unable to choose this network when deploying a virtual machine. 

When I try to force a deployment of an instance in this network:
- In the deploy page (UI) it says: CIDR: undefined
- After that the following error:
`Unable to acquire Guest IP address for network Network {"id": 204, "name": "CBS - Isolated ROUTED Dynamic", "uuid": "e9899298-f470-4d5b-855c-18bf0ea4c4ad", "networkofferingid": 29}
`

**My question:**
I tried official documentation online and configured all settings. I also had a look at the video made by Wei Zhou and followed all those steps as well. Am I missing some crucial setting in order to deploy a network that will be usable by an instance?

GitHub link: https://github.com/apache/cloudstack/discussions/10855

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

Thank you! If I can do something for you like testing, let me know 

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13133291

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 edited a discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

**I'm trying to get the follow scenario working (as a proof of concept):**
- Isolated network with ROUTED dynamic network (ACS 4.20 feature)

**I have the following topology:**
KVM hosts with each 4 NICs:
- Guest: VXLAN (5000-6000)
- Public: VLAN
- Storage: VLAN
- Management: VLAN

**What I configured:**
**Setup the Zone with:**
- a IPv4 subnet (10.46.0.0/16)
- Added AS Number range (65060 - 65069)
- Added BGP Peer

**Created a new Network Offering with the following settings:**
- Isolated
- Traffic type Guest
- Persistent: false
- Default egress policy: true
- Availability: Optional
- Specify VLAN: false
- Routing mode: Dynamic
- Specify AS number: false
- Specify IP ranges: false
- Network Mode: ROUTED
- Supported services
  Dns : VirtualRouter
  Firewall : VirtualRouter
  UserData : VirtualRouter
  Dhcp : VirtualRouter

**Created a Guest Network with the new offering:**
- CIDR size: 24
- Left the rest empty/default

After creating it, the network is in Allocated state but it doesn't acquire a IPv4 CIDR (it's empty). Because of this, I'm unable to choose this network when deploying a virtual machine. 

When I try to force a deployment of an instance in this network:
- In the deploy page (UI) it says: CIDR: undefined
- After that the following error:
`Unable to acquire Guest IP address for network Network {"id": 204, "name": "CBS - Isolated ROUTED Dynamic", "uuid": "e9899298-f470-4d5b-855c-18bf0ea4c4ad", "networkofferingid": 29}
`

**My question:**
I tried official documentation online and configured all settings. I also had a look at the video made by Wei Zhou and followed all those steps as well. Am I missing some crucial setting in order to deploy a network that will be usable by an instance?

GitHub link: https://github.com/apache/cloudstack/discussions/10855

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

> > Thank you! If I can do something for you like testing, let me know
> 
> @sjanssen15 
> it would be great, thanks
> do you need some guidance how to build the project or packeges, etc ?

Ow yeah if I have to build myself, I need some guidance on how to do this (first time for ACS)

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13133706

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "sjanssen15 (via GitHub)" <gi...@apache.org>.
GitHub user sjanssen15 added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

[management-server.log](https://github.com/user-attachments/files/20189104/management-server.log)


GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13131758

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

> @weizhouapache you checkt for ipv6 asswell? Or only ipv4 supported?

No issue with the ipv6 support. 
Ipv6 with vxlan should work

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13133329

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Unable to use ROUTED dynamic network in ACS 4.20 - IPv4 subnet not applied

@sjanssen15 
please refer to https://github.com/apache/cloudstack/pull/10861#issuecomment-2890268951

GitHub link: https://github.com/apache/cloudstack/discussions/10855#discussioncomment-13191491

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org