diff --git a/topics/compute/openstack/docs/technical-reference/brno-g2-site/networking.md b/topics/compute/openstack/docs/technical-reference/brno-g2-site/networking.md index 20b02f29c8ecf3540af92871f755d4f2e1c1c88e..c110c7d77a0fa07f129665017eedfed07bcf1fc7 100644 --- a/topics/compute/openstack/docs/technical-reference/brno-g2-site/networking.md +++ b/topics/compute/openstack/docs/technical-reference/brno-g2-site/networking.md @@ -15,6 +15,7 @@ There are 2 generally available external networks, which you can allocate floati - This network has 2 address pools: - `147.251.245.0/24` - `147.251.255.0/24` + - `78.128.235.0/24` - FIPs from this network are publicly accessible. - `external-ipv4-general-muni` - This network has 1 address pool: @@ -26,6 +27,40 @@ There are 2 generally available external networks, which you can allocate floati and interface in your internal network. See [Create Router How-to Guide](../../../how-to-guides/create-router). +### Request a Floating IP from a specific subnet + +If you want to allocate a Floating IP address (FIP) from a specific subnet, you can do so by specifying the desired subnet during allocation. + +To list all possible public segments within network external-ipv4-general-public use command: + +``` +openstack subnet list --network external-ipv4-general-public +``` + +Example: + +To get a FIP from the 147.251.255.0/24 subnet: + +``` +openstack floating ip create --subnet external-ipv4-general-public-147-251-255-0 external-ipv4-general-public +``` + +This command will return a free floating IP from the specified MUNI subnet `147.251.255.0/24`. + +Make sure to include the `--subnet` option with specified subnet name to allocate floating IP address from MUNI range. + +To assign the allocated IP to your instance (replace instance name and the IP accordingly): + +``` +openstack server add floating ip vm-server-1 147.251.255.123 +``` + +You can verify connectivity like this: + +``` +ncat -zv 147.251.255.123 22 +``` + ### Personal Projects