11 - Configure Neutron on the controller node
This page installs and configures the Neutron networking service on the controller node (controller01). Neutron manages virtual networks, routers, subnets, and other networking components for instances.
Prerequisites Before starting, ensure you have:
Keystone installed and reachable. A MySQL/MariaDB database available. Administrative credentials (admin-openrc) to create users and services. Create the database Connect to the database server as root to create the Neutron database:
Access the SQL client: vagrant@controller01:~$ sudo mysql Create the neutron database: MariaDB [(none)]> CREATE DATABASE neutron; Grant privileges to user neutron (replace NEUTRON_DBPASS with your password): MariaDB [(none)]> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \ IDENTIFIED BY 'NEUTRON_DBPASS'; MariaDB [(none)]> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' \ IDENTIFIED BY 'NEUTRON_DBPASS'; Exit the client when finished. Create the user and service endpoints Load your admin credentials to work with the OpenStack CLI: