Ask Your Question

Revision history [back]

Hi,

Late answer, may be useful for others. I believe you should use PUBLIC_NETWORK_GATEWAY in your local.conf. I had ran into similar issue. A quick grep found out how gateway was assigned on line 1296 (as of now).

lib/neutron-legacy:72:PUBLIC_NETWORK_GATEWAY=${PUBLIC_NETWORK_GATEWAY:-172.24.4.1}
lib/neutron-legacy:91:IPV6_PUBLIC_NETWORK_GATEWAY=${IPV6_PUBLIC_NETWORK_GATEWAY:-2001:db8::2}
lib/neutron-legacy:850:            v6_gateway=$(ip -6 a s dev $OVS_PHYSICAL_BRIDGE | grep  IPV6_PUBLIC_NETWORK_GATEWAY | awk '{ print $2 }')
lib/neutron-legacy:1296:    subnet_params+="--gateway $PUBLIC_NETWORK_GATEWAY "
lib/neutron-legacy:1310:    subnet_params+="--gateway $IPV6_PUBLIC_NETWORK_GATEWAY "