<?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>16.4. Virtual Router</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.1.0-it-IT-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.1.0');
              
              addID('Apache_CloudStack.4.1.0.books');
	      addID('Apache_CloudStack.4.1.0.Admin_Guide');
              </script><link rel="home" href="index.html" title="Manuale di Amministrazione CloudStack" /><link rel="up" href="working-with-system-vm.html" title="Capitolo 16. Working with System Virtual Machines" /><link rel="prev" href="console-proxy.html" title="16.3. Console Proxy" /><link rel="next" href="secondary-storage-vm.html" title="16.5. Secondary Storage VM" /></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="console-proxy.html"><strong>Indietro</strong></a></li><li class="next"><a accesskey="n" href="secondary-storage-vm.html"><strong>Avanti</strong></a></li></ul><div xml:lang="it-IT" class="section" id="virtual-router" lang="it-IT"><div class="titlepage"><div><div><h2 class="title" id="virtual-router">16.4. Virtual Router</h2></div></div></div><div class="para">
		The virtual router is a type of System Virtual Machine. The virtual router is one of the most frequently used service providers in CloudStack. The end user has no direct access to the virtual router. Users can ping the virtual router and take actions that affect it (such as setting up port forwarding), but users do not have SSH access into the virtual router.
	</div><div class="para">
		There is no mechanism for the administrator to log in to the virtual router. Virtual routers can be restarted by administrators, but this will interrupt public network access and other services for end users. A basic test in debugging networking issues is to attempt to ping the virtual router from a guest VM. Some of the characteristics of the virtual router are determined by its associated system service offering..
	</div><div xml:lang="it-IT" class="section" id="configure-virtual-router" lang="it-IT"><div class="titlepage"><div><div><h3 class="title" id="configure-virtual-router">16.4.1. Configuring the Virtual Router</h3></div></div></div><div class="para">
		You can set the following:
	</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				IP range
			</div></li><li class="listitem"><div class="para">
				Supported network services
			</div></li><li class="listitem"><div class="para">
				Default domain name for the network serviced by the virtual router
			</div></li><li class="listitem"><div class="para">
				Gateway IP address
			</div></li><li class="listitem"><div class="para">
				How often CloudStack fetches network usage statistics from CloudStack virtual routers. If you want to collect traffic metering data from the virtual router, set the global configuration parameter router.stats.interval. If you are not using the virtual router to gather network usage statistics, set it to 0.
			</div></li></ul></div></div><div xml:lang="it-IT" class="section" id="upgrade-virtual-router-with-service-offering" lang="it-IT"><div class="titlepage"><div><div><h3 class="title" id="upgrade-virtual-router-with-service-offering">16.4.2. Upgrading a Virtual Router with System Service Offerings</h3></div></div></div><div class="para">
		When CloudStack creates a virtual router, it uses default settings which are defined in a default system service offering. See <a class="xref" href="system-service-offerings.html">Sezione 8.2, «System Service Offerings»</a>. All the virtual routers in a single guest network use the same system service offering. You can upgrade the capabilities of the virtual router by creating and applying a custom system service offering.
	</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
				Define your custom system service offering. See <a class="xref" href="system-service-offerings.html#creating-system-service-offerings">Sezione 8.2.1, «Creating a New System Service Offering»</a>. In System VM Type, choose Domain Router.
			</div></li><li class="listitem"><div class="para">
				Associate the system service offering with a network offering.  <span>See <a class="xref" href="network-offerings.html#creating-network-offerings">Sezione 9.4.1, «Creating a New Network Offering»</a>.</span>
			</div></li><li class="listitem"><div class="para">
				Apply the network offering to the network where you want the virtual routers to use the new system service offering. If this is a new network, follow the steps in Adding an Additional Guest Network on page 66. To change the service offering for existing virtual routers, follow the steps in <a class="xref" href="using-multiple-guest-networks.html#change-network-offering-on-guest-network">Sezione 15.6.2, «Changing the Network Offering on a Guest Network»</a>.
			</div></li></ol></div></div><div xml:lang="it-IT" class="section" id="best-practices-virtual-router" lang="it-IT"><div class="titlepage"><div><div><h3 class="title" id="best-practices-virtual-router">16.4.3. Best Practices for Virtual Routers</h3></div></div></div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				WARNING: Restarting a virtual router from a hypervisor console deletes all the iptables rules. To work around this issue, stop the virtual router and start it from the CloudStack UI.
			</div></li><li class="listitem"><div class="para">
				WARNING: Do not use the destroyRouter API when only one router is available in the network, because restartNetwork API with the cleanup=false parameter can't recreate it later. If you want to destroy and recreate the single router available in the network, use the restartNetwork API with the cleanup=true parameter.
			</div></li></ul></div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="console-proxy.html"><strong>Indietro</strong>16.3. Console Proxy</a></li><li class="up"><a accesskey="u" href="#"><strong>Risali</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Partenza</strong></a></li><li class="next"><a accesskey="n" href="secondary-storage-vm.html"><strong>Avanti</strong>16.5. Secondary Storage VM</a></li></ul></body></html>
