
6.5.2 Monitoring the Network Traffic
To monitor the traffic on a specific interface, the little application
iftop
is a nice
program that displays the current network traffic in a terminal.
When running a Xen VM Host Server, you have to define the interface that is monitored.
The interface that Domain0 uses to get access to the physical network is the bridge de-
vice, for example
br0
. This, however, may vary on your system. To monitor all traffic
to the physical interface, run a terminal as
root
and use the command:
iftop -i br0
To monitor the network traffic of a special network interface of a specific VM Guest,
just supply the correct virtual interface. For example, to monitor the first ethernet device
of the domain with id 5, use the command:
іftop -i vif5.0
To quit
iftop
, press the key
Q
. More options and possibilities are available in the
manual page
man 8 iftop
.
6.5.3 Setup Bonding Devices
For some systems, it is desired to implement network connections that comply to more
than the standard data security or availability requirements of a typical Ethernet device.
In these cases, several Ethernet devices can be aggregated to a single bonding device.
The configuration of the bonding device is done by means of bonding module options.
The behavior is mainly affected by the mode of the bonding device. By default, this is
mode=active-backup
which means that a different slave device will become active
if the active slave fails.
TIP: Bonding and Xen
Using bonding devices is only interesting for machines where you have multiple
real network cards available. In most configurations, this means that you should
use the bonding configuration only in Domain0. Only if you have multiple
network cards assigned to a VM Guest system it may also be useful to set up
the bond in a VM Guest.
Virtual Networking
55
Summary of Contents for LINUX ENTERPRISE 11 SP1 - LINUX AUDIT
Page 1: ...SUSE Linux Enterprise Desktop www novell com 11 SP1 August 18 2010 Virtualization with Xen ...
Page 6: ......
Page 11: ...Part I Getting Started with Xen ...
Page 12: ......
Page 18: ......
Page 41: ...Part II Advanced Configurations ...
Page 42: ......
Page 54: ......
Page 87: ...Part III Administration and Best Practices ...
Page 88: ......
Page 100: ......
Page 108: ......
Page 114: ......
Page 116: ......
Page 117: ...Part IV Appendix ...
Page 118: ......
Page 122: ......