2013-05-03 22:25:37 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!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">
|
2008-04-24 01:08:31 +08:00
|
|
|
<body>
|
|
|
|
<h1>Network management architecture</h1>
|
|
|
|
|
2010-10-24 05:46:32 +08:00
|
|
|
<ul id="toc"></ul>
|
|
|
|
|
|
|
|
<h2><a name="architecture">Architecture illustration</a></h2>
|
2008-04-24 01:08:31 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
The diagrams below illustrate some of the network configurations
|
|
|
|
enabled by the libvirt networking APIs
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><strong>VLAN 1</strong>. This virtual network has connectivity
|
2009-11-06 23:04:19 +08:00
|
|
|
to <code>LAN 2</code> with traffic forwarded and NATed.
|
2008-04-24 01:08:31 +08:00
|
|
|
</li>
|
|
|
|
<li><strong>VLAN 2</strong>. This virtual network is completely
|
2009-11-06 23:04:19 +08:00
|
|
|
isolated from any physical LAN.
|
2008-04-24 01:08:31 +08:00
|
|
|
</li>
|
|
|
|
<li><strong>Guest A</strong>. The first network interface is bridged
|
2009-11-06 23:04:19 +08:00
|
|
|
to the physical <code>LAN 1</code>. The second interface is connected
|
|
|
|
to a virtual network <code>VLAN 1</code>.
|
2008-04-24 01:08:31 +08:00
|
|
|
</li>
|
|
|
|
<li><strong>Guest B</strong>. The first network interface is connected
|
2009-11-06 23:04:19 +08:00
|
|
|
to a virtual network <code>VLAN 1</code>, giving it limited NAT
|
|
|
|
based connectivity to LAN2. It has a second network interface
|
|
|
|
connected to <code>VLAN 2</code>. It acts a router allowing limited
|
|
|
|
traffic between the two VLANs, thus giving <code>Guest C</code>
|
|
|
|
connectivity to the physical <code>LAN 2</code>.
|
|
|
|
</li>
|
2008-04-24 01:08:31 +08:00
|
|
|
<li><strong>Guest C</strong>. The only network interface is connected
|
2009-11-06 23:04:19 +08:00
|
|
|
to a virtual network <code>VLAN 2</code>. It has no direct connectivity
|
2011-04-02 06:02:10 +08:00
|
|
|
to a physical LAN, relying on <code>Guest B</code> to route traffic
|
2009-11-06 23:04:19 +08:00
|
|
|
on its behalf.
|
2008-04-24 01:08:31 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2010-10-24 05:46:32 +08:00
|
|
|
<h3><a name="logical">Logical diagram</a></h3>
|
2008-04-24 01:08:31 +08:00
|
|
|
|
|
|
|
<p class="image">
|
|
|
|
<img src="libvirt-net-logical.png" alt="Logical network architecture"/>
|
|
|
|
</p>
|
|
|
|
|
2010-10-24 05:46:32 +08:00
|
|
|
<h3><a name="physical">Physical diagram</a></h3>
|
2008-04-24 01:08:31 +08:00
|
|
|
|
|
|
|
<p class="image">
|
|
|
|
<img src="libvirt-net-physical.png" alt="Physical network architecture"/>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|