source: trunk/packages/xen-3.1/xen-3.1/tools/vnet/00INSTALL @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 2.0 KB
Line 
1This directory contains the implementation of vnets:
2virtual private networks for virtual machines.
3
4make
5        - compile in local dirs. The module is in vnet-module/vnet_module.ko.
6
7make dist
8        - compile and install into $(XEN_ROOT)/dist/install,
9        - where XEN_ROOT is the root of the xen tree.
10
11make install
12        - compile and install into system.
13
14By default the makefiles expect this code to have been installed
15in tools/vnet in a xen source tree. If compiling outside the xen
16source tree, set XEN_ROOT to the location of the xen source.
17You can do this in the environment or in a Make.local file
18in the current directory (see Make.env for details).
19
20The xen0 kernel must have been compiled before building the vnet module.
21The vnet module installs to
22 /lib/modules/<kernel version>-xen0/kernel/xen/vnet_module.ko
23
24The vnet module should be loaded before starting xend, or
25xend will fail to create any persistent vnets it has in its configuration.
26The script network-vnet is a modified version of the xen network script
27that loads the module if it's not already loaded.
28
29The module uses kernel crypto functions, and these need to be
30enabled in the xen0 kernel config. They should be on by default -
31if they're not you will get compile or insmod errors (see below).
32
33Kernel config options:
34
351)      You will need to have your xen0 kernel compiled with HMAC_SUPPORT
36        2.6.x = (MAIN MENU: Cryptographic Options -> HMAC Support)
37        BEFORE running "make install".
38
392)      You will want at least some of the other algorithms listed under
40        "Cryptographic Options" for the kernel compiled as modules.
41
423)      You will want the networking IPsec/VLAN options compiled in as modules
43        2.6.x = (MAIN MENU: Device Drivers -> Networking Support ->
44                                Networking Options ->
45                                        IP: AH transformation
46                                        IP: ESP transformation
47                                        IP: IPComp transformation
48                                        IP: tunnel transformation
49
50                                        IPsec user configuration interface
51       
52                                        802.1Q VLAN Support
53
54Please refer to the additional documentation found in tools/vnet/doc for
55proper syntax and config file parameters.
Note: See TracBrowser for help on using the repository browser.