<?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.8. Reserving Public IP Addresses and VLANs for Accounts</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="reserved-ip-addresses-non-csvms.html" title="15.7. IP Reservation in Isolated Guest Networks" /><link rel="next" href="multiple-ip-nic.html" title="15.9. Configuring Multiple IP Addresses on a Single NIC" /></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="reserved-ip-addresses-non-csvms.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="multiple-ip-nic.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="ip-vlan-tenant" lang="en-US"><div class="titlepage"><div><div><h2 class="title">15.8. Reserving Public IP Addresses and VLANs for Accounts</h2></div></div></div><div class="para">
		CloudStack provides you the ability to reserve a set of public IP addresses and VLANs exclusively for an account. During zone creation, you can continue defining a set of VLANs and multiple public IP ranges. This feature extends the functionality to enable you to dedicate a fixed set of VLANs and guest IP addresses for a tenant.
	</div><div class="para">
		Note that if an account has consumed all the VLANs and IPs dedicated to it, the account can acquire two more resources from the system. CloudStack provides the root admin with two configuration parameter to modify this default behavior—use.system.public.ips and use.system.guest.vlans. These global parameters enable the root admin to disallow an account from acquiring public IPs and guest VLANs from the system, if the account has dedicated resources and these dedicated resources have all been consumed. Both these configurations are configurable at the account level.
	</div><div class="para">
		This feature provides you the following capabilities:
	</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				Reserve a VLAN range and public IP address range from an Advanced zone and assign it to an account
			</div></li><li class="listitem"><div class="para">
				Disassociate a VLAN and public IP address range from an account
			</div></li><li class="listitem"><div class="para">
				View the number of public IP addresses allocated to an account
			</div></li><li class="listitem"><div class="para">
				Check whether the required range is available and is conforms to account limits.
			</div><div class="para">
				The maximum IPs per account limit cannot be superseded.
			</div></li></ul></div><div class="section" id="howto-dedicate-ip"><div class="titlepage"><div><div><h3 class="title">15.8.1. Dedicating IP Address Ranges to an Account</h3></div></div></div><div class="orderedlist"><ol><li class="listitem"><div class="para">
					Log in to the CloudStack UI as administrator.
				</div></li><li class="listitem"><div class="para">
					In the left navigation bar, click Infrastructure.
				</div></li><li class="listitem"><div class="para">
					In Zones, click View All.
				</div></li><li class="listitem"><div class="para">
					Choose the zone you want to work with.
				</div></li><li class="listitem"><div class="para">
					Click the Physical Network tab.
				</div></li><li class="listitem"><div class="para">
					In the Public node of the diagram, click Configure.
				</div></li><li class="listitem"><div class="para">
					Click the IP Ranges tab.
				</div><div class="para">
					You can either assign an existing IP range to an account, or create a new IP range and assign to an account.
				</div></li><li class="listitem"><div class="para">
					To assign an existing IP range to an account, perform the following:
				</div><div class="orderedlist"><ol class="loweralpha"><li class="listitem"><div class="para">
							Locate the IP range you want to work with.
						</div></li><li class="listitem"><div class="para">
							Click Add Account 
							<span class="inlinemediaobject"><img src="./images/addAccount-icon.png" alt="addAccount-icon.png: button to assign an IP range to an account." /></span>
							button.
						</div><div class="para">
							The Add Account dialog is displayed.
						</div></li><li class="listitem"><div class="para">
							Specify the following:
						</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
									<span class="bold bold"><strong>Account</strong></span>: The account to which you want to assign the IP address range.
								</div></li><li class="listitem"><div class="para">
									<span class="bold bold"><strong>Domain</strong></span>: The domain associated with the account.
								</div></li></ul></div><div class="para">
							To create a new IP range and assign an account, perform the following:
						</div><div class="orderedlist"><ol class="loweralpha"><li class="listitem"><div class="para">
									Specify the following:
								</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
											<span class="bold bold"><strong>Gateway</strong></span>
										</div></li><li class="listitem"><div class="para">
											<span class="bold bold"><strong>Netmask</strong></span>
										</div></li><li class="listitem"><div class="para">
											<span class="bold bold"><strong>VLAN</strong></span>
										</div></li><li class="listitem"><div class="para">
											<span class="bold bold"><strong>Start IP</strong></span>
										</div></li><li class="listitem"><div class="para">
											<span class="bold bold"><strong>End IP</strong></span>
										</div></li><li class="listitem"><div class="para">
											<span class="bold bold"><strong>Account</strong></span>: Perform the following:
										</div><div class="orderedlist"><ol class="lowerroman"><li class="listitem"><div class="para">
													Click Account.
												</div><div class="para">
													The Add Account page is displayed.
												</div></li><li class="listitem"><div class="para">
													Specify the following:
												</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
															<span class="bold bold"><strong><span class="bold bold"><strong>Account</strong></span></strong></span>: The account to which you want to assign an IP address range.
														</div></li><li class="listitem"><div class="para">
															<span class="bold bold"><strong><span class="bold bold"><strong>Domain</strong></span></strong></span>: The domain associated with the account.
														</div></li></ul></div></li><li class="listitem"><div class="para">
													Click OK.
												</div></li></ol></div></li></ul></div></li><li class="listitem"><div class="para">
									Click Add.
								</div></li></ol></div></li></ol></div></li></ol></div></div><div class="section" id="howto-dedicate-vlan"><div class="titlepage"><div><div><h3 class="title">15.8.2. Dedicating VLAN Ranges to an Account</h3></div></div></div><div class="orderedlist"><ol><li class="listitem"><div class="para">
					After the CloudStack Management Server is installed, log in to the CloudStack UI as administrator.
				</div></li><li class="listitem"><div class="para">
					In the left navigation bar, click Infrastructure.
				</div></li><li class="listitem"><div class="para">
					In Zones, click View All.
				</div></li><li class="listitem"><div class="para">
					Choose the zone you want to work with.
				</div></li><li class="listitem"><div class="para">
					Click the Physical Network tab.
				</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">
					Select the Dedicated VLAN Ranges tab.
				</div></li><li class="listitem"><div class="para">
					Click Dedicate VLAN Range.
				</div><div class="para">
					The Dedicate VLAN Range dialog is displayed.
				</div></li><li class="listitem"><div class="para">
					Specify the following:
				</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
							<span class="bold bold"><strong><span class="bold bold"><strong>VLAN Range</strong></span></strong></span>: The VLAN range that you want to assign to an account.
						</div></li><li class="listitem"><div class="para">
							<span class="bold bold"><strong><span class="bold bold"><strong>Account</strong></span></strong></span>: The account to which you want to assign the selected VLAN range.
						</div></li><li class="listitem"><div class="para">
							<span class="bold bold"><strong><span class="bold bold"><strong>Domain</strong></span></strong></span>: The domain associated with the account.
						</div></li></ul></div></li></ol></div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="reserved-ip-addresses-non-csvms.html"><strong>Prev</strong>15.7. IP Reservation in Isolated Guest Networks</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="multiple-ip-nic.html"><strong>Next</strong>15.9. Configuring Multiple IP Addresses on a Sing...</a></li></ul></body></html>
