1 | This directory contains the implementation of vnets: |
---|
2 | virtual private networks for virtual machines. |
---|
3 | |
---|
4 | make |
---|
5 | - compile in local dirs. The module is in vnet-module/vnet_module.ko. |
---|
6 | |
---|
7 | make dist |
---|
8 | - compile and install into $(XEN_ROOT)/dist/install, |
---|
9 | - where XEN_ROOT is the root of the xen tree. |
---|
10 | |
---|
11 | make install |
---|
12 | - compile and install into system. |
---|
13 | |
---|
14 | By default the makefiles expect this code to have been installed |
---|
15 | in tools/vnet in a xen source tree. If compiling outside the xen |
---|
16 | source tree, set XEN_ROOT to the location of the xen source. |
---|
17 | You can do this in the environment or in a Make.local file |
---|
18 | in the current directory (see Make.env for details). |
---|
19 | |
---|
20 | The xen0 kernel must have been compiled before building the vnet module. |
---|
21 | The vnet module installs to |
---|
22 | /lib/modules/<kernel version>-xen0/kernel/xen/vnet_module.ko |
---|
23 | |
---|
24 | The vnet module should be loaded before starting xend, or |
---|
25 | xend will fail to create any persistent vnets it has in its configuration. |
---|
26 | The script network-vnet is a modified version of the xen network script |
---|
27 | that loads the module if it's not already loaded. |
---|
28 | |
---|
29 | The module uses kernel crypto functions, and these need to be |
---|
30 | enabled in the xen0 kernel config. They should be on by default - |
---|
31 | if they're not you will get compile or insmod errors (see below). |
---|
32 | |
---|
33 | Kernel config options: |
---|
34 | |
---|
35 | 1) 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 | |
---|
39 | 2) You will want at least some of the other algorithms listed under |
---|
40 | "Cryptographic Options" for the kernel compiled as modules. |
---|
41 | |
---|
42 | 3) 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 | |
---|
54 | Please refer to the additional documentation found in tools/vnet/doc for |
---|
55 | proper syntax and config file parameters. |
---|