local.conf devstack compute and controller networking

asked 2020-09-01 17:05:44 -0600

jenia gravatar image

updated 2020-09-01 17:09:54 -0600

Hello.

I'm going through the multi-node devstack tutorial and the local.conf network setup is a little confusing.

First of all, the HOST_IP is set to [1] 192.168.42.12 on the controller node. But this IP is a worker node in the examples.

Does the HOST_IP point to the worker nodes in the local.conf on the controller node?

[[local|localrc]]
HOST_IP=192.168.42.12 # change this per compute node

Furthermore, the netmask for the FLOATING_RANGE is 192.168.42.128/25 which gives the following ranges:

HostMin:   192.168.42.129       11000000.10101000.01111010.1 0000001
HostMax:   192.168.42.254       11000000.10101000.01111010.1 1111110

But the IPs of the workers nodes in the example are 192.168.42.11 which is outside of the range.

Thirdly, does the HOST_IP in the controller nodes point to the IP of the controller itself setup [2] as in

#local.conf:
[[local|localrc]]
HOST_IP=192.168.42.11

#/etc/network/interfaces:
auto eth0
iface eth0 inet static
    address 192.168.42.11
    netmask 255.255.255.0
    gateway 192.168.42.1

And finally, what is the purpose of the FIXED_RANGE=10.4.128.0/20?

P.S. Hyperlinks cannot be set in this GUI so I left the numbered references at the bottom like in a book

[1] https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#configure-compute-nodes (https://docs.openstack.org/devstack/l...)

[2] https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#network-configuration (https://docs.openstack.org/devstack/l...)

edit retag flag offensive close merge delete