blob: b5967ceabfd94c5c82f9183c76784c795d3b3db9 [file] [log] [blame]
lmr82589b22009-12-11 20:59:36 +00001# Copy this file to address_pools.cfg and edit it.
2#
lmr44d98892009-08-13 04:10:27 +00003# This file specifies several MAC-IP ranges for each host in the network that
4# may run KVM tests. A MAC address must not be used twice, so these ranges
5# must not overlap. The VMs running on each host will only use MAC addresses
6# from the pool of that host.
7# If you wish to use a static MAC-IP mapping, where each MAC address range is
8# mapped to a known corresponding IP address range, specify the bases of the IP
9# address ranges in this file.
lmree90dd92009-08-13 04:13:39 +000010# If you specify a MAC address range without a corresponding IP address range,
11# the IP addresses for that range will be determined at runtime by listening
12# to DHCP traffic using tcpdump.
13# If you wish to determine IP addresses using tcpdump in any case, regardless
14# of any # IP addresses specified in this file, uncomment the following line:
15#always_use_tcpdump = yes
16# You may also specify this parameter for specific hosts by adding it in the
17# appropriate sections below.
lmr44d98892009-08-13 04:10:27 +000018
19variants:
20 # Rename host1 to an actual (short) hostname in the network that will be running the Autotest client
21 - @host1:
22 # Add/remove ranges here
23 address_ranges = r1 r2
24
25 # Modify the following parameters to reflect the DHCP server's configuration
26 address_range_base_mac_r1 = 52:54:00:12:35:56
27 #address_range_base_ip_r1 = 10.0.2.20
28 address_range_size_r1 = 16
29
30 # Modify the following parameters to reflect the DHCP server's configuration
31 address_range_base_mac_r2 = 52:54:00:12:35:80
32 #address_range_base_ip_r2 = 10.0.2.40
33 address_range_size_r2 = 16
34
35 # Rename host2 to an actual (short) hostname in the network that will be running the Autotest client
36 - @host2:
37 # Add/remove ranges here
38 address_ranges = r1 r2
39
40 # Modify the following parameters to reflect the DHCP server's configuration
41 address_range_base_mac_r1 = 52:54:00:12:36:56
42 #address_range_base_ip_r1 = 10.0.3.20
43 address_range_size_r1 = 16
44
45 # Modify the following parameters to reflect the DHCP server's configuration
46 address_range_base_mac_r2 = 52:54:00:12:36:80
47 #address_range_base_ip_r2 = 10.0.3.40
48 address_range_size_r2 = 16
49
50 # Add additional hosts here...
51
52 # This will be used for hosts that do not appear on the list
53 - @default_host:
54 # Add/remove ranges here
55 address_ranges = r1 r2
56
57 # Modify the following parameters to reflect the DHCP server's configuration
58 address_range_base_mac_r1 = 52:54:00:12:34:56
59 #address_range_base_ip_r1 = 10.0.1.20
60 address_range_size_r1 = 16
61
62 # Modify the following parameters to reflect the DHCP server's configuration
63 address_range_base_mac_r2 = 52:54:00:12:34:80
64 #address_range_base_ip_r2 = 10.0.1.40
65 address_range_size_r2 = 16