equinix / terraform-equinix-metal-openstack

OpenStack Cloud on Equinix Metal
https://registry.terraform.io/modules/equinix/openstack/metal/latest
Apache License 2.0
13 stars 12 forks source link

external networking with private IPv4 addresses #7

Closed johnstudarus closed 4 years ago

johnstudarus commented 4 years ago

It would be nice to have some provider networking enabled (perhaps using the private IPv4 address space). Public IPv4 addresses are scarce so private IPv4 would work better for demos. This would require allocating the space via TF and then setting up the provider networks within OpenStack.

johnstudarus commented 4 years ago

Part of the puzzle allocating the IPv4 and IPv6 address space from the provider.

https://github.com/packet-labs/OpenStackOnPacket/commit/cf3ed96182134e9d3f85bfaf08e4ecf13703fb5a

johnstudarus commented 4 years ago

Rest of the puzzle per @miouge1

Assigned the /29 to the controller node in Packet UI "brctl addbr br-public" "ip a add 147.75.201.153/29 dev br-public" (assign the gateway IP to the bridge) "/etc/neutron/plugins/ml2/linuxbridge_agent.ini" to use "bridge_mappings = provider:br-public" instead of "physical_interface_mappings = provider:bond0" (with bridge_mappings we tell neutron that the bridge is managed by the admin, to handle things like the gateway IP)