10.14. Configuring physical networks
As an OpenShift administrator, you can create or configure a physical network in the OpenShift Container Platform web console without using the node network configuration policy (NNCP) page. When you use the physical network page in the web console, the NNCP is generated automatically. If you need more flexibility or require complex settings, use the NNCP page.
10.14.1. Creating a physical network by using the OpenShift Container Platform web console 링크 복사링크가 클립보드에 복사되었습니다!
You can create physical networks for OpenShift Virtualization using the OpenShift Container Platform web console to create a network with direct layer 2 connectivity to your data center.
Prerequisites
-
You are logged in to the OpenShift Container Platform web console as a user with
cluster-adminpermissions.
Procedure
-
In the OpenShift Container Platform web console, go to Networking
Physical networks. - Click Create network. The Network configuration wizard is displayed.
- On the Network identity page, enter a name for your network.
On the Nodes configuration page, select either Apply to all nodes on the cluster or Apply to specific subsets of nodes using the nodes selector.
참고If you select specific nodes to apply the network to, you can view the matching nodes list to ensure the selection is correct. A validation error is displayed if the selected nodes overlap with another configuration associated with the same network.
On the Uplink connection page, select the network interface that you want to connect to the physical network:
- Default node network
- Uses the default node network to access the outside physical network.
- A single interface
Select a specific physical network interface from the list.
주의If the selected secondary interface has an IP address on some of the nodes, using it removes the IP address and might disrupt network services.
- Bonding interface
Configures bonded network interfaces to achieve resilience and higher throughput.
- Enter a Bonding name.
- Select the Network interfaces to bond.
- Select the Aggregation mode from the drop-down menu.
- On the Settings page, enter a Bridge name and set the Maximum Transmission Unit (MTU).
- Review the configuration details.
- Click Create.
Verification
-
In the OpenShift Container Platform web console, go to Networking
Physical networks. - Locate your new network in the list.
- Expand the network row to view the associated configurations. Verify that the Enactment state is Available and that the Nodes count matches your expectation.