Skip to content

Commit cd9d0f1

Browse files
author
Bob Furu
authored
Merge pull request #32286 from miabbott/bz1724454
Bug 1724454: example VLAN configurations
2 parents 16b425c + d889d7c commit cd9d0f1

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

modules/installation-user-infra-machines-static-network.adoc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ Ordering is important when adding kernel arguments: `ip=`, `nameserver=`, and th
3030
====
3131

3232
.Routing and bonding options for ISO
33+
34+
The following table provides examples for configuring networking of your {op-system-first} nodes. These are networking options that are passed to the `dracut` tool during system boot. For more information about the networking options supported by `dracut`, see the `dracut.cmdline` manual page.
35+
3336
|===
3437
|Description |Examples
3538

@@ -70,6 +73,22 @@ ip=enp1s0:dhcp
7073
ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp2s0:none
7174
----
7275

76+
a|Optional: You can configure VLANs on individual interfaces by using the `vlan=` parameter.
77+
a|
78+
To configure a VLAN on a network interface and use a static IP address:
79+
80+
----
81+
ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp2s0.100:none
82+
vlan=enp2s0.100:enp2s0
83+
----
84+
85+
To configure a VLAN on a network interface and to use DHCP:
86+
87+
----
88+
ip=enp2s0.100:dhcp
89+
vlan=enp2s0.100:enp2s0
90+
----
91+
7392
a|You can provide multiple DNS servers by adding a `nameserver=` entry for each server.
7493
a|
7594
----
@@ -105,6 +124,24 @@ bond=bond0:em1,em2:mode=active-backup
105124
ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:bond0:none
106125
----
107126

127+
a|Optional: You can configure VLANs on bonded interfaces by using the `vlan=` parameter.
128+
a|
129+
To configure the bonded interface with a VLAN and to use DHCP:
130+
131+
----
132+
ip=bond0.100:dhcp
133+
bond=bond0:em1,em2:mode=active-backup
134+
vlan=bond0.100:bond0
135+
----
136+
137+
To configure the bonded interface with a VLAN and to use a static IP address:
138+
139+
----
140+
ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:bond0.100:none
141+
bond=bond0:em1,em2:mode=active-backup
142+
vlan=bond0.100:bond0
143+
----
144+
108145
|===
109146

110147
[discrete]

0 commit comments

Comments
 (0)