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
The SSH connection might disconnect after executing these steps.
32
32
====
33
+
34
+
.. For a network using DHCP, run the following command:
33
35
+
34
36
[source,terminal]
35
37
----
@@ -39,20 +41,38 @@ $ sudo nohup bash -c "
39
41
# RHEL 8.1 appends the word \"System\" in front of the connection, delete in case it exists
40
42
nmcli con down \"System $PUB_CONN\"
41
43
nmcli con delete \"System $PUB_CONN\"
42
-
nmcli connection add ifname baremetal type bridge con-name baremetal bridge.stp no
44
+
nmcli connection add ifname baremetal type bridge <con_name> baremetal bridge.stp no <1>
43
45
nmcli con add type bridge-slave ifname \"$PUB_CONN\" master baremetal
44
46
pkill dhclient;dhclient baremetal
45
47
"
46
48
----
49
+
<1> Replace `<con_name>` with the connection name.
47
50
48
-
. Optional: If you are deploying with a provisioning network, export the provisioning network NIC name:
51
+
.. For a network using static IP addressing and no DHCP network, run the following command:
52
+
+
53
+
[source,terminal]
54
+
----
55
+
$ sudo nohup bash -c "
56
+
nmcli con down \"$PUB_CONN\"
57
+
nmcli con delete \"$PUB_CONN\"
58
+
# RHEL 8.1 appends the word \"System\" in front of the connection, delete in case it exists
59
+
nmcli con down \"System $PUB_CONN\"
60
+
nmcli con delete \"System $PUB_CONN\"
61
+
nmcli connection add ifname baremetal type bridge con-name baremetal bridge.stp no ipv4.method manual ipv4.addr "x.x.x.x/yy" ipv4.gateway "a.a.a.a" ipv4.dns "b.b.b.b" <1>
62
+
nmcli con add type bridge-slave ifname \"$PUB_CONN\" master baremetal
63
+
nmcli con up baremetal
64
+
"
65
+
----
66
+
<1> Replace `<con_name>` with the connection name. Replace `x.x.x.x/yy` with the IP address and CIDR for the network. Replace `a.a.a.a` with the network gateway. Replace `b.b.b.b` with the IP address of the DNS server.
67
+
68
+
. Optional: If you are deploying with a provisioning network, export the provisioning network NIC name by running the following command:
49
69
+
50
70
[source,terminal]
51
71
----
52
72
$ export PROV_CONN=<prov_nic_name>
53
73
----
54
74
55
-
. Optional: If you are deploying with a provisioning network, configure the provisioning network:
75
+
. Optional: If you are deploying with a provisioning network, configure the provisioning network by running the following command:
56
76
+
57
77
[source,terminal]
58
78
----
@@ -69,34 +89,35 @@ $ sudo nohup bash -c "
69
89
+
70
90
[NOTE]
71
91
====
72
-
The ssh connection might disconnect after executing these steps.
92
+
The SSH connection might disconnect after executing these steps.
73
93
74
-
The IPv6 address can be any address as long as it is not routable via the bare-metal network.
94
+
The IPv6 address can be any address that is not routable through the bare-metal network.
75
95
76
96
Ensure that UEFI is enabled and UEFI PXE settings are set to the IPv6 protocol when using IPv6 addressing.
77
97
====
78
98
79
-
. Optional: If you are deploying with a provisioning network, configure the IPv4 address on the provisioning network connection:
99
+
. Optional: If you are deploying with a provisioning network, configure the IPv4 address on the provisioning network connection by running the following command:
0 commit comments