Skip to content
Snippets Groups Projects
Unverified Commit 22788e80 authored by František Řezníček's avatar František Řezníček Committed by GitHub
Browse files

Merge pull request #53 from CESNET/request-fip

request FIP from specific subnet
parents 59b5c67b d111e55c
No related branches found
No related tags found
No related merge requests found
Pipeline #637627 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment