1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00

updating IP range

This commit is contained in:
Ronan Hennessy
2024-11-13 12:31:26 +00:00
committed by openshift-cherrypick-robot
parent dffdf55795
commit 7c9c4df093
3 changed files with 14 additions and 14 deletions

View File

@@ -79,7 +79,7 @@ stringData:
ipv4:
enabled: true
address:
- ip: 10.6.85.8
- ip: 192.168.200.25
prefix-length: 24
dhcp: false <4>
ipv6:
@@ -87,13 +87,13 @@ stringData:
dns-resolver:
config:
server:
- 10.6.73.2 <5>
- 10.6.73.4
- 192.168.15.47 <5>
- 192.168.15.48
routes:
config: <6>
- destination: 0.0.0.0/0
metric: 150
next-hop-address: 10.6.85.254
next-hop-address: 192.168.200.254
next-hop-interface: ens1f0
table-id: 254
----
@@ -102,7 +102,7 @@ stringData:
<3> Specify the name of the interface on the host. The name of the interface must match the actual NIC name as shown in the operating system. To use your MAC address for NIC matching, set the `identifier` field to `mac-address`.
<4> You must specify `dhcp: false` to ensure `nmstate` assigns the static IP address to the interface.
<5> Specify one or more DNS servers that the system will use to resolve domain names.
<6> In this example, the default route is configured through the `ens1f0` interface to the next hop IP address `10.6.85.254`.
<6> In this example, the default route is configured through the `ens1f0` interface to the next hop IP address `192.168.200.254`.
. Create the `BareMetalHost` and `Secret` resources:

View File

@@ -104,20 +104,20 @@ networkConfig:
dhcp: false
auto-dns: false
address:
- ip: 10.6.85.8
- ip: 192.168.200.25
prefix-length: 24
ipv6:
enabled: false
dns-resolver:
config:
server:
- 10.6.73.2
- 10.6.73.4
- 192.168.15.47
- 192.168.15.48
routes:
config:
- destination: 0.0.0.0/0
metric: 150
next-hop-address: 10.6.85.254
next-hop-address: 192.168.200.254
next-hop-interface: ens1f0
----

View File

@@ -61,7 +61,7 @@ networking:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineNetwork:
- cidr: 10.6.85.0/24
- cidr: 192.168.200.0/24
networkType: OVNKubernetes
serviceNetwork:
- 172.30.0.0/16
@@ -162,20 +162,20 @@ networkConfig:
dhcp: false
auto-dns: false
address:
- ip: 10.6.85.8
- ip: 192.168.200.25
prefix-length: 24
ipv6:
enabled: false
dns-resolver:
config:
server:
- 10.6.73.2
- 10.6.73.4
- 192.168.15.47
- 192.168.15.48
routes:
config:
- destination: 0.0.0.0/0
metric: 150
next-hop-address: 10.6.85.254
next-hop-address: 192.168.200.254
next-hop-interface: ens1f0
----