Lines Matching +full:slave +full:- +full:addr
1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
35 All other corresponding linux interfaces are called slave interfaces.
37 The slave interfaces depend on the master interface. They can only brought up,
46 a slave interface
49 another slave interface
52 a third slave interface
55 A slave interface dedicated for upstream traffic
61 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
62 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7)
63 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11)
66 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
69 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
70 * wan: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
72 .. _dsa-tagged-configuration:
75 ----------------------------------
84 .. code-block:: sh
87 ip addr add 192.0.2.1/30 dev lan1
88 ip addr add 192.0.2.5/30 dev lan2
89 ip addr add 192.0.2.9/30 dev lan3
91 # The master interface needs to be brought up before the slave ports.
94 # bring up the slave interfaces
102 .. code-block:: sh
104 # The master interface needs to be brought up before the slave ports.
107 # bring up the slave interfaces
121 ip addr add 192.0.2.129/25 dev br0
129 .. code-block:: sh
131 # The master interface needs to be brought up before the slave ports.
134 # bring up the slave interfaces
140 ip addr add 192.0.2.1/30 dev wan
150 ip addr add 192.0.2.129/25 dev br0
155 .. _dsa-vlan-configuration:
158 -------------------------------------
168 .. code-block:: sh
175 # The master interface needs to be brought up before the slave ports.
181 # bring up the slave interfaces
203 ip addr add 192.0.2.1/30 dev eth0.1
204 ip addr add 192.0.2.5/30 dev eth0.2
205 ip addr add 192.0.2.9/30 dev eth0.3
214 .. code-block:: sh
219 # The master interface needs to be brought up before the slave ports.
223 # bring up the slave interfaces
246 ip addr add 192.0.2.129/25 dev br0
254 .. code-block:: sh
260 # The master interface needs to be brought up before the slave ports.
265 # bring up the slave interfaces
288 ip addr add 192.0.2.1/30 dev eth0.2
289 ip addr add 192.0.2.129/25 dev br0