Skip to content

Commit

Permalink
Change clusterNetwork/serviceNetwork CIDR once more
Browse files Browse the repository at this point in the history
This was initially changed because it was causing issues when running
crc in an OpenShift cluster.
However the new one causes collisions in a different environment.

Let's try a 3rd different value and see if we are lucky this time :)

I picked:
- an odd number
- bigger than 200

in the hope that sysadmins are less likely to see this as a good value
to use for internal networks.

This commit also picks smaller network ranges for the serviceNetwork and
clusterNetwork, as snc is single node, a /22 for clusterNetwork should
be plenty enough. A /23 can't be used because of openshift/sdn#250
This also changes the service network to use a /23
right after the network used for clusterNetwork. This means crc uses
addresses from 10.217.0.0 to 10.217.5.255.
  • Loading branch information
cfergeau committed Jan 22, 2021
1 parent f9e18ae commit f3888e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ metadata:
name: crc
networking:
clusterNetwork:
- cidr: 10.116.0.0/14
- cidr: 10.217.0.0/22
hostPrefix: 23
machineNetwork:
- cidr: 192.168.126.0/24
networkType: OpenShiftSDN
serviceNetwork:
- 172.25.0.0/16
- 10.217.4.0/23
platform:
libvirt:
URI: qemu+tcp://192.168.122.1/system
Expand Down

0 comments on commit f3888e2

Please sign in to comment.