Skip to content

Commit

Permalink
Dynamic: v5
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Aug 5, 2024
1 parent d9d2c78 commit 1b0c63a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/images/routed-ipv4-routes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 44 additions & 5 deletions source/adminguide/networking/dynamic_static_routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ An IPv4 subnet for guest networks is created from its parent which is a IPv4 sub

.. cssclass:: table-striped table-bordered table-hover

======================================= ========================
================================================= ========================
Configuration Description
======================================= ========================
routed.ipv4.network.cidr.auto.allocation.enabled whether the auto-allocation of network CIDR for routed network is enabled or not. True by default.
================================================= ========================
routed.ipv4.network.cidr.auto.allocation.enabled whether the auto-allocation of network CIDR for routed network is enabled or not. True by default. This is an account-level setting.
routed.ipv4.network.max.cidr.size The maximum value of the cidr size for isolated networks in ROUTED mode
routed.ipv4.network.min.cidr.size The minimum value of the cidr size for isolated networks in ROUTED mode
routed.ipv4.vpc.max.cidr.size The maximum value of the cidr size for VPC in ROUTED mode
routed.ipv4.vpc.min.cidr.size The minimum value of the cidr size for VPC in ROUTED mode
======================================= ========================
================================================= ========================

Supported CloudStack API for operators to manage the IPv4 subnets for guest networks are:

Expand All @@ -115,6 +115,23 @@ To create VPC offering with ROUTED mode, see below
Create Network with Static Routing for IPv4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To create a network with static routing, users need to navigate to Network -> Add Network -> Isolated, and

- Choose a network offering with ROUTED mode
- Specify the gateway and netmask (available for ROOT admin only)
- OR, specify the cidrsize (available for all users)

|routed-add-network-cidrsize.png|

If cidrsize is specified, CloudStack will allocate an IPv4 subnet for guest network to the net network

- Check if there is an IPv4 subnet with same CIDR size available,
- If not, and setting "routed.ipv4.network.cidr.auto.allocation.enabled" is true for account, allocate an IPv4 subnet for the new network, from the IPv4 subnet for zone which the account can access.
- Otherwise, the network creation fails.

When the network is implemented, the Ipv4 routes are displayed in the network details page.

|routed-ipv4-routes.png|


Create Network with Static Routing for IPv6
Expand All @@ -123,10 +140,23 @@ Create Network with Static Routing for IPv6
The IPv6 static routing has been introduced in Apache CloudStack 4.17.0.0.
For more information, see `“IPv6 support for isolated networks and VPC Network Tiers” <../plugins/ipv6.html#isolated-network-and-vpc-network-tier>`_.

Users can create network with static routing for both IPv4 and IPv6, if the network offering supports DualStack.


Manage IPv4 Routing Firewall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TODO
Users can manage the IPv4 Routing firewalls by navigating to Network -> Guest Networks -> choose a network -> IPv4 Routing Firewall

|routed-ipv4-routing-firewall.png|

Supported CloudStack API for operators to manage the IPv4 Routing firewall rules are:

- **createRoutingFirewallRule** : create an IPv4 routing firewall rule
- **updateRoutingFirewallRule** : update an IPv4 routing firewall rule
- **deleteRoutingFirewallRule** : delete an IPv4 routing firewall rule
- **listRoutingFirewallRules** : list IPv4 routing firewall rules


Manage AS number for Dynamic Routing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -156,3 +186,12 @@ TODO
.. |routed-add-vpc-offering.png| image:: /_static/images/routed-add-vpc-offering.png
:alt: Add vpc offering with ROUTED mode

.. |routed-add-network-cidrsize.png| image:: /_static/images/routed-add-network-cidrsize.png
:alt: Add ROUTED network with specified cidr size

.. |routed-ipv4-routes.png| image:: /_static/images/routed-ipv4-routes.png
:alt: IPv4 static routes

.. |routed-ipv4-routing-firewall.png| image:: /_static/images/routed-ipv4-routing-firewall.png
:alt: IPv4 routing firewall rules

0 comments on commit 1b0c63a

Please sign in to comment.