<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>15.13. Multiple Subnets in Shared Network</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.2.0-en-US-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.2.0');
              
              addID('Apache_CloudStack.4.2.0.books');
	      addID('Apache_CloudStack.4.2.0.Admin_Guide');
              </script><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="networks.html" title="Chapter 15. Managing Networks and Traffic" /><link rel="prev" href="portable-ip.html" title="15.12. Portable IPs" /><link rel="next" href="pvlan.html" title="15.14. Isolation in Advanced Zone Using Private VLAN" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="portable-ip.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="pvlan.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="add-ip-range" lang="en-US"><div class="titlepage"><div><div><h2 class="title">15.13. Multiple Subnets in Shared Network</h2></div></div></div><div class="para">
		CloudStack provides you with the flexibility to add guest IP ranges from different subnets in Basic zones and security groups-enabled Advanced zones. For security groups-enabled Advanced zones, it implies multiple subnets can be added to the same VLAN. With the addition of this feature, you will be able to add IP address ranges from the same subnet or from a different one when IP address are exhausted. This would in turn allows you to employ higher number of subnets and thus reduce the address management overhead. You can delete the IP ranges you have added.
	</div><div class="section" id="guidelines-multiplesubnet"><div class="titlepage"><div><div><h3 class="title">15.13.1. Prerequisites and Guidelines</h3></div></div></div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
					This feature can only be implemented:
				</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
							on IPv4 addresses
						</div></li><li class="listitem"><div class="para">
							if virtual router is the DHCP provider
						</div></li><li class="listitem"><div class="para">
							on KVM, xenServer, and VMware hypervisors
						</div></li></ul></div></li><li class="listitem"><div class="para">
					Manually configure the gateway of the new subnet before adding the IP range.
				</div></li><li class="listitem"><div class="para">
					CloudStack supports only one gateway for a subnet; overlapping subnets are not currently supported
				</div></li></ul></div></div><div class="section" id="how-to-add-ip"><div class="titlepage"><div><div><h3 class="title">15.13.2. Adding Multiple Subnets to a Shared Network</h3></div></div></div><div class="orderedlist"><ol><li class="listitem"><div class="para">
					Log in to the CloudStack UI as an administrator or end user.
				</div></li><li class="listitem"><div class="para">
					In the left navigation, choose Infrastructure.
				</div></li><li class="listitem"><div class="para">
					On Zones, click View More, then click the zone to which you want to work with..
				</div></li><li class="listitem"><div class="para">
					Click Physical Network.
				</div></li><li class="listitem"><div class="para">
					In the Guest node of the diagram, click Configure.
				</div></li><li class="listitem"><div class="para">
					Click Networks.
				</div></li><li class="listitem"><div class="para">
					Select the networks you want to work with.
				</div></li><li class="listitem"><div class="para">
					Click View IP Ranges.
				</div></li><li class="listitem"><div class="para">
					Click Add IP Range.
				</div><div class="para">
					The Add IP Range dialog is displayed, as follows:
				</div><div class="mediaobject"><img src="./images/add-ip-range.png" alt="add-ip-range.png: adding an IP range to a network." /></div></li><li class="listitem"><div class="para">
					Specify the following:
				</div><div class="para">
					All the fields are mandatory.
				</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
							<span class="bold bold"><strong>Gateway</strong></span>: The gateway for the tier you create. Ensure that the gateway is within the Super CIDR range that you specified while creating the VPC, and is not overlapped with the CIDR of any existing tier within the VPC.
						</div></li><li class="listitem"><div class="para">
							<span class="bold bold"><strong>Netmask</strong></span>: The netmask for the tier you create.
						</div><div class="para">
							For example, if the VPC CIDR is 10.0.0.0/16 and the network tier CIDR is 10.0.1.0/24, the gateway of the tier is 10.0.1.1, and the netmask of the tier is 255.255.255.0.
						</div></li><li class="listitem"><div class="para">
							<span class="bold bold"><strong>Start IP/ End IP</strong></span>: A range of IP addresses that are accessible from the Internet and will be allocated to guest VMs. Enter the first and last IP addresses that define a range that CloudStack can assign to guest VMs .
						</div></li></ul></div></li><li class="listitem"><div class="para">
					Click OK.
				</div></li></ol></div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="portable-ip.html"><strong>Prev</strong>15.12. Portable IPs</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="pvlan.html"><strong>Next</strong>15.14. Isolation in Advanced Zone Using Private V...</a></li></ul></body></html>
