Edit Router
- Personal Area
- Openstack CLI
- Go to the Routers subsection.
- Select the necessary router, click on the ellipsis in the router field, and choose Edit from the context menu.
- If necessary, change the name of the router in the Name Router field.
- If necessary, you can change the status of the router.
- Click Update.
Make sure the OpenStack client is installed and you can authenticate to use it. Execute the necessary commands.
openstack router set --name <name> /
--enable | --disable /
--route destination=<subnet>, gateway=<ip-address>
--fixed-ip subnet=<subnet>,ip-address=<ip-address>
--name <new-name>
- Set the name of the router.
--enable
- Enable the router.
--disable
- Disable the router.
--route destination=<subnet>, gateway=<ip-address>
- Add routes to the router's destination: destination subnet (in CIDR notation), gateway: IP address of the next hop (repeat the option to add multiple routes). This is deprecated in favor of 'router add/remove route' as it is subject to race conditions between concurrent clients unless used in conjunction with the --no-route option to overwrite the current 'routes' value.