Home > Storage > PowerFlex > White Papers > Red Hat OpenShift 4.12 deployment on Dell PowerFlex 4.5 > VLAN tagging on bond interface
Following is a VLAN tagging network configuration YAML file. Create and apply the configuration on the OpenShift cluster.
$ vi vlan_tagging_bond1.yaml
apiVersion: nmstate.io/v1 kind: NodeNetworkConfigurationPolicy metadata: name: vlan-tagging-bond1-configurations-node1 spec: nodeSelector: kubernetes.io/hostname: node1.denver.ocp412.com desiredState: interfaces: - name: bond1.150 description: PowerFlex Management VLAN 250 on bond1 type: vlan state: up ipv4: address: - ip: 172.16.150.192 prefix-length: 24 enabled: true vlan: base-iface: bond1 id: 250 mtu: 9000 - name: bond1.151 description: PowerFlex Data1 VLAN 251 on bond1 type: vlan state: up ipv4: address: - ip: 172.16.151.192 prefix-length: 24
enabled: true vlan: base-iface: bond1 id: 251 mtu: 9000 - name: bond1.152 description: PowerFlex Data2 VLAN 252 on bond1 type: vlan state: up ipv4: address: - ip: 172.16.152.192 prefix-length: 24 enabled: true vlan: base-iface: bond1 id: 252 mtu: 9000
$ oc apply -f vlan_tagging_bond1.yaml
|