You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ipi-install-establishing-communication-between-subnets.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,15 @@ In this procedure, the cluster spans two subnets:
33
33
$ sudo su -
34
34
----
35
35
36
-
.. Get the name of the network interface:
36
+
.. Get the name of the network interface by running the following command:
37
37
+
38
38
[source,terminal]
39
39
----
40
40
# nmcli dev status
41
41
----
42
42
43
-
.. Add a route to the second subnet (`192.168.0.0`) via the gateway:
44
-
s+
43
+
.. Add a route to the second subnet (`192.168.0.0`) via the gateway by running the following command:
44
+
+
45
45
[source,terminal]
46
46
----
47
47
# nmcli connection modify <interface_name> +ipv4.routes "192.168.0.0/24 via <gateway>"
@@ -56,7 +56,7 @@ Replace `<interface_name>` with the interface name. Replace `<gateway>` with the
56
56
# nmcli connection modify eth0 +ipv4.routes "192.168.0.0/24 via 192.168.0.1"
57
57
----
58
58
59
-
.. Apply the changes:
59
+
.. Apply the changes by running the following command:
60
60
+
61
61
[source,terminal]
62
62
----
@@ -81,21 +81,21 @@ Adjust the commands to match your actual interface names and gateway.
81
81
82
82
. Configure the second subnet to communicate with the first subnet:
83
83
84
-
.. Log in as `root` to a remote worker node:
84
+
.. Log in as `root` to a remote worker node by running the following command:
85
85
+
86
86
[source,terminal]
87
87
----
88
88
$ sudo su -
89
89
----
90
90
91
-
.. Get the name of the network interface:
91
+
.. Get the name of the network interface by running the following command:
92
92
+
93
93
[source,terminal]
94
94
----
95
95
# nmcli dev status
96
96
----
97
97
98
-
.. Add a route to the first subnet (`10.0.0.0`) via the gateway:
98
+
.. Add a route to the first subnet (`10.0.0.0`) via the gateway by running the following command:
99
99
+
100
100
[source,terminal]
101
101
----
@@ -111,7 +111,7 @@ Replace `<interface_name>` with the interface name. Replace `<gateway>` with the
111
111
# nmcli connection modify eth0 +ipv4.routes "10.0.0.0/24 via 10.0.0.1"
112
112
----
113
113
114
-
.. Apply the changes:
114
+
.. Apply the changes by running the following command:
115
115
+
116
116
[source,terminal]
117
117
----
@@ -120,7 +120,7 @@ Replace `<interface_name>` with the interface name. Replace `<gateway>` with the
120
120
+
121
121
Replace `<interface_name>` with the interface name.
122
122
123
-
.. Verify the routing table to ensure the route has been added successfully:
123
+
.. Verify the routing table to ensure the route has been added successfully by running the following command:
124
124
+
125
125
[source,terminal]
126
126
----
@@ -136,7 +136,7 @@ Adjust the commands to match your actual interface names and gateway.
136
136
137
137
. Once you have configured the networks, test the connectivity to ensure the remote worker nodes can reach the control plane nodes and the control plane nodes can reach the remote worker nodes.
138
138
139
-
.. From the control plane nodes in the first subnet, ping a remote worker node in the second subnet:
139
+
.. From the control plane nodes in the first subnet, ping a remote worker node in the second subnet by running the following command:
If the ping is successful, it means the control plane nodes in the first subnet can reach the remote worker nodes in the second subnet. If you don't receive a response, review the network configurations and repeat the procedure for the node.
147
147
148
-
.. From the remote worker nodes in the second subnet, ping a control plane node in the first subnet:
148
+
.. From the remote worker nodes in the second subnet, ping a control plane node in the first subnet by running the following command:
0 commit comments