Skip to content

Commit 1d7e1a9

Browse files
author
Shikha Jhala
committed
BZ2229164: Minor update to bridge NAD YAML
1 parent 2c49faf commit 1d7e1a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/virt-creating-linux-bridge-nad-cli.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ spec:
3838
"type": cnv-bridge, <4>
3939
"bridge": bridge-interface, <5>
4040
"macspoofchk": true, <6>
41-
"vlan": 1 <7>
41+
"vlan": 100, <7>
42+
"preserveDefaultVlan": false <8>
4243
}'
4344
----
4445
<1> The name for the `NetworkAttachmentDefinition` object.
@@ -48,6 +49,7 @@ spec:
4849
<5> The name of the Linux bridge configured on the node.
4950
<6> Optional: Flag to enable MAC spoof check. When set to `true`, you cannot change the MAC address of the pod or guest interface. This attribute provides security against a MAC spoofing attack by allowing only a single MAC address to exit the pod.
5051
<7> Optional: The VLAN tag. No additional VLAN configuration is required on the node network configuration policy.
52+
<8> Optional: Indicates whether the VM connects to the bridge through the default VLAN. The default value is `true`.
5153
+
5254
[NOTE]
5355
====

0 commit comments

Comments
 (0)