IP Addressing and Subnet Requirements¶
Choose an IP address family and determine subnet sizes before installation. These decisions cannot be changed after deployment.
IP Version Support¶
StarlingX supports IPv4 and IPv6 versions for various networks.
All platform networks must be a single address family, either IPv4 or IPv6, with the exception of the PXE boot network which must always use IPv4. The following table lists IPv4 and IPv6 support for different networks:
Networks |
IPv4 Support |
IPv6 Support |
Comment |
|---|---|---|---|
PXE boot |
Y |
N |
If present, the PXE boot network is used for PXE booting of new hosts (instead of using the internal management network), and must be untagged. It is limited to IPv4, because the StarlingX installer does not support IPv6 UEFI booting. |
Internal Management |
Y |
Y |
|
OAM |
Y |
Y |
|
Cluster Host |
Y |
Y |
The Cluster Host network supports IPv4 or IPv6 addressing. |
Data Network and SR-IOV Interface |
Y |
Y |
There is no restriction for the Data Network and SR-IOV Interfaces to have the same address family as the platform. They operate independently from the platform and are capable of supporting both IPv4 and IPv6 addressing, offering flexible options for network connectivity. However, IPv4 or IPv6 requires dedicated IPAM pools or static address configuration to use the corresponding address families with the SR-IOV Interfaces. For more information about IPAM pools configuration, see https://docs.tigera.io/calico/latest/reference/resources/ippool. |
Subnet Sizing¶
Use the following tables to determine subnet sizes for your deployment. Undersizing subnets is difficult to correct after installation.
Note
If the default subnets of cluster-pod and cluster-service are not changed, ensure that no IP overlaps with other provisioned subnets.
If container workloads on this system must initiate connections to endpoints outside the cluster, the cluster-host and cluster-pod subnets must additionally be:
globally routable: reachable from those external endpoints, with a working return path. The default subnet is not routable outside the cluster.
unique: not reused by any other StarlingX system whose traffic traverses the same transport network. Where the same prefix is present on more than one system, the transport network cannot carry a single unambiguous route to it, and replies to a node’s cluster host address have no unique destination.
The cluster-host and cluster-pod subnets cannot be changed after deployment, so both properties must be decided before bootstrap.
AIO-SX:
Network |
Recommended Prefix Length |
Minimum Hosts |
Maximum Hosts |
Default Subnets Assigned |
|---|---|---|---|---|
oam |
24 |
2 |
224 |
10.10.10.0/24 |
pxeboot |
24 |
1 |
224 |
169.254.202.0/24 |
management |
24 |
1 (2) |
224 |
192.168.204.0/24 |
admin |
24 |
2 |
224 |
none |
multicast |
28 |
4 |
28 |
239.1.1.0/28 |
cluster-host |
24 |
1 |
224 |
192.168.206.0/24 |
cluster-pod |
16 |
65536 |
224 |
172.16.0.0/16 |
cluster-service |
12 |
65536 |
220 |
10.96.0.0/12 |
Network |
Recommended Prefix Length |
Minimum Hosts |
Maximum Hosts |
Example |
|---|---|---|---|---|
oam |
64 |
2 |
264 |
2001:db8:1::/64 |
management |
64 |
1 (2) |
264 |
2001:db8:2::/64 |
admin |
64 |
2 |
264 |
2001:db8:6::/64 |
multicast |
124 |
4 |
28 |
ff08::1:1:0/124 |
cluster-host |
64 |
1 |
264 |
2001:db8:3::/64 |
cluster-pod |
64 |
65536 |
264 |
2001:db8:4::/64 |
cluster-service |
112 |
65536 |
220 |
2001:db8:5::/112 |
AIO-DX/Standard:
Network |
Recommended Prefix Length |
Minimum Hosts |
Maximum Hosts |
Default Subnets Assigned |
|---|---|---|---|---|
oam |
24 |
4 |
224 |
10.10.10.0/24 |
pxeboot |
24 |
3 |
224 |
169.254.202.0/24 |
management |
24 |
3 (4) |
224 |
192.168.204.0/24 |
admin |
24 |
4 |
224 |
none |
multicast |
28 |
4 |
28 |
239.1.1.0/28 |
cluster-host |
24 |
3 |
224 |
192.168.206.0/24 |
cluster-pod |
16 |
65536 |
224 |
172.16.0.0/16 |
cluster-service |
12 |
65536 |
220 |
10.96.0.0/12 |
Network |
Recommended Prefix Length |
Minimum Hosts |
Maximum Hosts |
Example |
|---|---|---|---|---|
oam |
64 |
4 |
264 |
2001:db8:1::/64 |
management |
64 |
3 (4) |
264 |
2001:db8:2::/64 |
admin |
64 |
4 |
264 |
2001:db8:6::/64 |
multicast |
124 |
4 |
28 |
ff08::1:1:0/124 |
cluster-host |
64 |
3 |
264 |
2001:db8:3::/64 |
cluster-pod |
64 |
65536 |
264 |
2001:db8:4::/64 |
cluster-service |
112 |
65536 |
220 |
2001:db8:5::/112 |
Note
The oam and admin networks require an extra gateway address.
The management network requires an extra gateway address when the admin network is not used.