Hi, I have used networking option-2 for neutron service.
According to the following guides,
https://docs.openstack.org/install-guide/launch-instance-networks-provider.html
https://docs.openstack.org/install-guide/launch-instance-networks-selfservice.html
to create self-service network, I need to create a provider network too.
while creating a subnet for the provider network using following command,
openstack subnet create --network provider \
--allocation-pool start=START_IP_ADDRESS,end=END_IP_ADDRESS \
--dns-nameserver DNS_RESOLVER --gateway PROVIDER_NETWORK_GATEWAY \
--subnet-range PROVIDER_NETWORK_CIDR provider
Q1) should i give the dns-nameserver IP address to be one of the ip address in the /etc/resolv.conf in the controller machine ? or can i use google dns-name server 8.8.8.8
Q2) Should i always give the gateway ip to be the gateway ip which i have used in the controller machine? for example if my gateway ip in the controller is 203.0.113.1, then should i always provide that only or can i provide random gateway xx.xx.xx.1
Q3) how about assigning allocation-pool for provider network?
Q4) is it necessary to create provider network subnet to create self-service network.
I'm bit confused. Please help me out.