Skip to content

Commit 247ccb7

Browse files
author
Radhika PC
committed
CLOUDSTACK-3181 and CLOUDSTACK-847
1 parent a3c2b23 commit 247ccb7

2 files changed

Lines changed: 113 additions & 77 deletions

File tree

‎docs/en-US/add-ip-range.xml‎

Lines changed: 112 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -19,85 +19,121 @@
1919
under the License.
2020
-->
2121
<section id="add-ip-range">
22-
<title>Adding Multiple IP Ranges</title>
23-
<note>
24-
<para>The feature can only be implemented on IPv4 addresses.</para>
25-
</note>
22+
<title>Multiple Subnets in Shared Network</title>
2623
<para>&PRODUCT; provides you with the flexibility to add guest IP ranges from different subnets in
2724
Basic zones and security groups-enabled Advanced zones. For security groups-enabled Advanced
2825
zones, it implies multiple subnets can be added to the same VLAN. With the addition of this
2926
feature, you will be able to add IP address ranges from the same subnet or from a different one
3027
when IP address are exhausted. This would in turn allows you to employ higher number of subnets
31-
and thus reduce the address management overhead.</para>
32-
<para>Ensure that you manually configure the gateway of the new subnet before adding the IP range.
33-
Note that &PRODUCT; supports only one gateway for a subnet; overlapping subnets are not
34-
currently supported.</para>
35-
<para>You can also delete IP ranges. This operation fails if an IP from the remove range is in
36-
use. If the remove range contains the IP address on which the DHCP server is running, &PRODUCT;
37-
acquires a new IP from the same subnet. If no IP is available in the subnet, the remove
38-
operation fails.</para>
39-
<para>This feature is supported on KVM, xenServer, and VMware hypervisors.</para>
40-
<orderedlist>
41-
<listitem>
42-
<para>Log in to the &PRODUCT; UI as an administrator or end user.</para>
43-
</listitem>
44-
<listitem>
45-
<para>In the left navigation, choose Infrastructure. </para>
46-
</listitem>
47-
<listitem>
48-
<para>On Zones, click View More, then click the zone to which you want to work with..</para>
49-
</listitem>
50-
<listitem>
51-
<para>Click Physical Network.</para>
52-
</listitem>
53-
<listitem>
54-
<para>In the Guest node of the diagram, click Configure.</para>
55-
</listitem>
56-
<listitem>
57-
<para>Click Networks.</para>
58-
</listitem>
59-
<listitem>
60-
<para>Select the networks you want to work with.</para>
61-
</listitem>
62-
<listitem>
63-
<para>Click View IP Ranges.</para>
64-
</listitem>
65-
<listitem>
66-
<para>Click Add IP Range.</para>
67-
<para>The Add IP Range dialog is displayed, as follows:</para>
68-
<mediaobject>
69-
<imageobject>
70-
<imagedata fileref="./images/add-ip-range.png"/>
71-
</imageobject>
72-
<textobject>
73-
<phrase>add-ip-range.png: adding an IP range to a network.</phrase>
74-
</textobject>
75-
</mediaobject>
76-
</listitem>
77-
<listitem>
78-
<para>Specify the following:</para>
79-
<para>All the fields are mandatory.</para>
80-
<itemizedlist>
81-
<listitem>
82-
<para><emphasis role="bold">Gateway</emphasis>: The gateway for the tier you create.
83-
Ensure that the gateway is within the Super CIDR range that you specified while creating
84-
the VPC, and is not overlapped with the CIDR of any existing tier within the VPC.</para>
85-
</listitem>
86-
<listitem>
87-
<para><emphasis role="bold">Netmask</emphasis>: The netmask for the tier you create. </para>
88-
<para>For example, if the VPC CIDR is 10.0.0.0/16 and the network tier CIDR is
89-
10.0.1.0/24, the gateway of the tier is 10.0.1.1, and the netmask of the tier is
90-
255.255.255.0.</para>
91-
</listitem>
92-
<listitem>
93-
<para><emphasis role="bold">Start IP/ End IP</emphasis>: A range of IP addresses that are
94-
accessible from the Internet and will be allocated to guest VMs. Enter the first and
95-
last IP addresses that define a range that &PRODUCT; can assign to guest VMs .</para>
96-
</listitem>
97-
</itemizedlist>
98-
</listitem>
99-
<listitem>
100-
<para>Click OK.</para>
101-
</listitem>
102-
</orderedlist>
28+
and thus reduce the address management overhead. You can delete the IP ranges you have
29+
added.</para>
30+
<section id="guidelines-multiplesubnet">
31+
<title>Prerequisites and Guidelines</title>
32+
<itemizedlist>
33+
<listitem>
34+
<para>This feature can only be implemented:</para>
35+
<itemizedlist>
36+
<listitem>
37+
<para>on IPv4 addresses</para>
38+
</listitem>
39+
<listitem>
40+
<para>if virtual router is the DHCP provider</para>
41+
</listitem>
42+
<listitem>
43+
<para>on KVM, xenServer, and VMware hypervisors</para>
44+
</listitem>
45+
</itemizedlist>
46+
</listitem>
47+
<listitem>
48+
<para>Manually configure the gateway of the new subnet before adding the IP range. </para>
49+
</listitem>
50+
<listitem>
51+
<para>&PRODUCT; supports only one gateway for a subnet; overlapping subnets are not
52+
currently supported</para>
53+
</listitem>
54+
<listitem>
55+
<para>Services, such as User Data and Reset SSH Key, runs on the primary IP of the eth0
56+
interface. In the case of multiple subnets, the primary IP is allocated from the first
57+
subnet to the eth0 interface of the virtual router. If virtual router is used for
58+
providing DNS service, &PRODUCT;adds an entry, <code>eth0Ip data-server</code>, in the
59+
<code>/etc/hosts</code> directory of the router VM. To access the User Data and Reset
60+
SSH Key services from any additional subnets, use <code>data-server</code> instead of
61+
using the eth0 IP of the router. </para>
62+
<para>For the Reset SSH Key service, the ssh-key reset script has been modified to fetch the
63+
public key by using the name <code>data-server</code> instead of the eth0 IP of the
64+
router. Therefore, if you want to implement the multiple subnet feature, update the user
65+
VM templates with this modified ssh-key restart script. All VMs deployed prior to using
66+
this feature will be able to use the service with the old script. Updating templates is
67+
required only for the VMs that are deployed in the new subnet.</para>
68+
</listitem>
69+
</itemizedlist>
70+
</section>
71+
<section id="how-to-add-ip">
72+
<title>Adding Multiple Subnets to a Shared Network</title>
73+
<orderedlist>
74+
<listitem>
75+
<para>Log in to the &PRODUCT; UI as an administrator or end user.</para>
76+
</listitem>
77+
<listitem>
78+
<para>In the left navigation, choose Infrastructure. </para>
79+
</listitem>
80+
<listitem>
81+
<para>On Zones, click View More, then click the zone to which you want to work with..</para>
82+
</listitem>
83+
<listitem>
84+
<para>Click Physical Network.</para>
85+
</listitem>
86+
<listitem>
87+
<para>In the Guest node of the diagram, click Configure.</para>
88+
</listitem>
89+
<listitem>
90+
<para>Click Networks.</para>
91+
</listitem>
92+
<listitem>
93+
<para>Select the networks you want to work with.</para>
94+
</listitem>
95+
<listitem>
96+
<para>Click View IP Ranges.</para>
97+
</listitem>
98+
<listitem>
99+
<para>Click Add IP Range.</para>
100+
<para>The Add IP Range dialog is displayed, as follows:</para>
101+
<mediaobject>
102+
<imageobject>
103+
<imagedata fileref="./images/add-ip-range.png"/>
104+
</imageobject>
105+
<textobject>
106+
<phrase>add-ip-range.png: adding an IP range to a network.</phrase>
107+
</textobject>
108+
</mediaobject>
109+
</listitem>
110+
<listitem>
111+
<para>Specify the following:</para>
112+
<para>All the fields are mandatory.</para>
113+
<itemizedlist>
114+
<listitem>
115+
<para><emphasis role="bold">Gateway</emphasis>: The gateway for the tier you create.
116+
Ensure that the gateway is within the Super CIDR range that you specified while
117+
creating the VPC, and is not overlapped with the CIDR of any existing tier within the
118+
VPC.</para>
119+
</listitem>
120+
<listitem>
121+
<para><emphasis role="bold">Netmask</emphasis>: The netmask for the tier you create. </para>
122+
<para>For example, if the VPC CIDR is 10.0.0.0/16 and the network tier CIDR is
123+
10.0.1.0/24, the gateway of the tier is 10.0.1.1, and the netmask of the tier is
124+
255.255.255.0.</para>
125+
</listitem>
126+
<listitem>
127+
<para><emphasis role="bold">Start IP/ End IP</emphasis>: A range of IP addresses that
128+
are accessible from the Internet and will be allocated to guest VMs. Enter the first
129+
and last IP addresses that define a range that &PRODUCT; can assign to guest VMs
130+
.</para>
131+
</listitem>
132+
</itemizedlist>
133+
</listitem>
134+
<listitem>
135+
<para>Click OK.</para>
136+
</listitem>
137+
</orderedlist>
138+
</section>
103139
</section>

‎docs/en-US/ip-vlan-tenant.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
under the License.
2020
-->
2121
<section id="ip-vlan-tenant">
22-
<title>Reserving Public IP Addresses and VLANs for Account</title>
22+
<title>Reserving Public IP Addresses and VLANs for Accounts</title>
2323
<para>&PRODUCT; provides you the ability to reserve a set of public IP addresses and VLANs
2424
exclusively for an account. During zone creation, you can continue defining a set of VLANs and
2525
multiple public IP ranges. This feature extends the functionality to enable you to dedicate a

0 commit comments

Comments
 (0)