WHAT'S HOT
Prev | Current Page 71 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"

In our case, the contents of the routing table are
as follows:
4. The following diagram shows the routed network configuration and the
network interfaces created when only dom0 is running.
5. When the domU is started up, the following sequence of events takes place:
Xen copies the IP address from eth0 to the virtual interface
vif.0. The virtual interface ID is automatically assigned
to each of the guest domain started up by Xen. The assigned
id is never reused in a single session. So if you stop and restart
a domain, a new ID will be assigned to it.
Brings up the virtual interface vif.0.
Adds a static route for the domU's IP address specified in
domU configuration file that points to the virtual interface
vif.0.
6. Here is the configuration of the network interfaces when both dom0 and
domU are running.

?° ?°
Chapter 5
[ 83 ]
7. The following screenshot shows the entries in the network routing table
when domU is started up. You can now see an entry was added to it for
routing packets to the virtual network interface for domU.
8. The following diagram shows a complete Xen routed network configuration
with a dom0 and one domU running.
Networking
[ 84 ]
Virtual Local Network with Network
Address Translation
In this section we are going to set up a Xen networking configuration that has
a dom0 with a public IP address that acts as a router to a VLAN by using NAT.
The VLAN can have any number of virtual machines, all of which will use a new
network interface that is connected to the bridge.


Pages:
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83