Use 192.168.x.x addressing instead of 192.0.x.x addressing

192.0.x.x is non-private addresses. Since we now in some
cases care about the address ranges used in the environment
switch to use addresses in the private space 192.168.x.x.

Also minor update to doc, router addresses are no longer
dynamically allocated.
This commit is contained in:
Harald Jensås 2018-10-18 11:43:41 +02:00
parent 0bbb4f2302
commit a16f379e1b
19 changed files with 67 additions and 70 deletions

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 10.0.0.0/24 ExternalNetCidr: 10.0.0.0/24
ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}] ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}]
ExternalInterfaceDefaultRoute: 10.0.0.1 ExternalInterfaceDefaultRoute: 10.0.0.1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -37,7 +37,7 @@ method, which creates most of the resources needed automatically.
:: ::
neutron net-create provision neutron net-create provision
neutron subnet-create --name provision --no-gateway --disable-dhcp provision 192.0.2.0/24 neutron subnet-create --name provision --no-gateway --disable-dhcp provision 192.168.24.0/24
#. Create "public" network. #. Create "public" network.

View File

@ -228,10 +228,10 @@ OVB as well.
``"physical_network": "<name-used-for-provision_net>"`` with ``"physical_network": "<name-used-for-provision_net>"`` with
``"physical_network": "ctlplane"``. ``"physical_network": "ctlplane"``.
#. The router addresses in the environment are dynamically allocated. For #. For convenience router addresses are made available via the
convenience these are made available via the ``network_environment_data`` ``network_environment_data`` key in the stack output of the quintupleo heat
key in the stack output of the quintupleo heat stack. To retrieve this data stack. To retrieve this data run the ``openstack stack show`` command. For
run the ``openstack stack show`` command. For example:: example::
$ openstack stack show quintupleo -c outputs -f yaml $ openstack stack show quintupleo -c outputs -f yaml
@ -244,15 +244,15 @@ OVB as well.
output_value: output_value:
internal2_router: 172.17.1.204 internal2_router: 172.17.1.204
internal_router_address: 172.17.0.201 internal_router_address: 172.17.0.201
provision2_router: 192.0.3.206 provision2_router: 192.168.25.254
provision3_router: 192.0.4.204 provision3_router: 192.168.26.254
provision_router: 192.0.2.203 provision_router: 192.168.24.254
storage2_router_address: 172.18.1.209 storage2_router_address: 172.18.1.254
storage_mgmt2_router_address: 172.19.1.206 storage_mgmt2_router_address: 172.19.1.254
storage_mgmt_router_address: 172.19.0.209 storage_mgmt_router_address: 172.19.0.254
storage_router_address: 172.18.0.208 storage_router_address: 172.18.0.254
tenant2_router_address: 172.16.1.200 tenant2_router_address: 172.16.1.254
tenant_router_address: 172.16.0.201 tenant_router_address: 172.16.0.254
- description: ip of the undercloud instance on the private network - description: ip of the undercloud instance on the private network
output_key: undercloud_host_private_ip output_key: undercloud_host_private_ip
output_value: 10.0.1.14 output_value: 10.0.1.14
@ -272,33 +272,33 @@ OVB as well.
undercloud_hostname = undercloud.rdocloud undercloud_hostname = undercloud.rdocloud
local_interface = eth1 local_interface = eth1
local_mtu = 1450 local_mtu = 1450
local_ip = 192.0.2.1/24 local_ip = 192.168.24.1/24
undercloud_public_host = 192.0.2.2 undercloud_public_host = 192.168.24.2
undercloud_admin_host = 192.0.2.3 undercloud_admin_host = 192.168.24.3
undercloud_nameservers = 8.8.8.8,8.8.4.4 undercloud_nameservers = 8.8.8.8,8.8.4.4
local_subnet = provision local_subnet = provision
subnets = provision,provision2,provision3 subnets = provision,provision2,provision3
[provision] [provision]
cidr = 192.0.2.0/24 cidr = 192.168.24.0/24
dhcp_start = 192.0.2.10 dhcp_start = 192.168.24.10
dhcp_end = 192.0.2.30 dhcp_end = 192.168.24.30
gateway = 192.0.2.203 gateway = 192.168.24.254
inspection_iprange = 192.0.2.100,192.0.2.120 inspection_iprange = 192.168.24.100,192.168.24.120
masquerade = true masquerade = true
[provision2] [provision2]
cidr = 192.0.3.0/24 cidr = 192.168.25.0/24
dhcp_start = 192.0.3.10 dhcp_start = 192.168.25.10
dhcp_end = 192.0.3.30 dhcp_end = 192.168.25.30
gateway = 192.0.3.206 gateway = 192.168.25.254
inspection_iprange = 192.0.3.100,192.0.3.120 inspection_iprange = 192.168.25.100,192.168.25.120
masquerade = true masquerade = true
[provision3] [provision3]
cidr = 192.0.4.0/24 cidr = 192.168.26.0/24
dhcp_start = 192.0.4.10 dhcp_start = 192.168.26.10
dhcp_end = 192.0.4.30 dhcp_end = 192.168.26.30
gateway = 192.0.4.204 gateway = 192.168.26.254
inspection_iprange = 192.0.4.100,192.0.4.120 inspection_iprange = 192.168.26.100,192.168.26.120
masquerade = true masquerade = true

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 2001:db8:fd00:1000::/64 ExternalNetCidr: 2001:db8:fd00:1000::/64
ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}] ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}]
ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1 ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 10.0.0.0/24 ExternalNetCidr: 10.0.0.0/24
ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}] ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}]
ExternalInterfaceDefaultRoute: 10.0.0.1 ExternalInterfaceDefaultRoute: 10.0.0.1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 10.0.0.0/24 ExternalNetCidr: 10.0.0.0/24
ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}] ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}]
ExternalInterfaceDefaultRoute: 10.0.0.1 ExternalInterfaceDefaultRoute: 10.0.0.1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 2001:db8:fd00:1000::/64 ExternalNetCidr: 2001:db8:fd00:1000::/64
ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}] ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}]
ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1 ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -8,8 +8,8 @@ resource_registry:
parameter_defaults: parameter_defaults:
ControlPlaneSubnetCidr: '24' ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1 ControlPlaneDefaultRoute: 192.168.24.1
EC2MetadataIp: 192.0.2.1 EC2MetadataIp: 192.168.24.1
ExternalNetCidr: 10.0.0.0/24 ExternalNetCidr: 10.0.0.0/24
ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}] ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}]
ExternalInterfaceDefaultRoute: 10.0.0.1 ExternalInterfaceDefaultRoute: 10.0.0.1

View File

@ -7,14 +7,14 @@ p3
(dp4 (dp4
S'route' S'route'
p5 p5
V192.0.2.1 V192.168.24.1
p6 p6
sS'mask' sS'mask'
p7 p7
I24 I24
sS'ec2' sS'ec2'
p8 p8
V192.0.2.1 V192.168.24.1
p9 p9
ssS'major' ssS'major'
p10 p10

View File

@ -21,9 +21,6 @@ parameters:
dhcp_ips: dhcp_ips:
type: json type: json
default:
- 192.0.2.1
- 192.0.2.10
description: | description: |
The IP addresses of DHCP servers to relay DHCP requests to. The IP addresses of DHCP servers to relay DHCP requests to.

View File

@ -144,8 +144,8 @@ parameters:
dhcp_ips: dhcp_ips:
type: json type: json
default: default:
- 192.0.2.1 - 192.168.24.1
- 192.0.2.10 - 192.168.24.10
description: | description: |
The IP addresses of DHCP servers to relay DHCP requests to. The IP addresses of DHCP servers to relay DHCP requests to.

View File

@ -9,12 +9,12 @@ parameters:
provision_net_cidr: provision_net_cidr:
type: string type: string
description: CIDR for provision network subnet description: CIDR for provision network subnet
default: 192.0.2.0/24 default: 192.168.24.0/24
provision_net_router_address: provision_net_router_address:
type: string type: string
description: Router address for the provision network subnet description: Router address for the provision network subnet
default: 192.0.2.254 default: 192.168.24.254
provision_net_shared: provision_net_shared:
type: boolean type: boolean
@ -29,12 +29,12 @@ parameters:
provision_net2_cidr: provision_net2_cidr:
type: string type: string
description: CIDR for second provision network subnet description: CIDR for second provision network subnet
default: 192.0.3.0/24 default: 192.168.25.0/24
provision_net2_router_address: provision_net2_router_address:
type: string type: string
description: Router address for the provision network subnet description: Router address for the provision network subnet
default: 192.0.3.254 default: 192.168.25.254
provision_net2_shared: provision_net2_shared:
type: boolean type: boolean
@ -49,12 +49,12 @@ parameters:
provision_net3_cidr: provision_net3_cidr:
type: string type: string
description: CIDR for third provision network subnet description: CIDR for third provision network subnet
default: 192.0.4.0/24 default: 192.168.26.0/24
provision_net3_router_address: provision_net3_router_address:
type: string type: string
description: Router address for the provision network subnet description: Router address for the provision network subnet
default: 192.0.4.254 default: 192.168.26.254
provision_net3_shared: provision_net3_shared:
type: boolean type: boolean

View File

@ -9,7 +9,7 @@ parameters:
provision_net_cidr: provision_net_cidr:
type: string type: string
description: CIDR for provision network subnet description: CIDR for provision network subnet
default: 192.0.2.0/24 default: 192.168.24.0/24
provision_net_shared: provision_net_shared:
type: boolean type: boolean

View File

@ -117,8 +117,8 @@ parameters:
dhcp_ips: dhcp_ips:
type: json type: json
default: default:
- 192.0.2.1 - 192.168.24.1
- 192.0.2.10 - 192.168.24.10
description: | description: |
The IP addresses of DHCP servers to relay DHCP requests to. The IP addresses of DHCP servers to relay DHCP requests to.