Lines Matching +full:up +full:- +full:to
1 .. SPDX-License-Identifier: GPL-2.0
8 network configuration suites by now and has to be performed manualy.
10 .. _dsa-config-showcases:
13 -----------------------
15 To configure a DSA switch a couple of commands need to be executed. In this
33 interface. The CPU port is the switch port connected to an Ethernet MAC chip.
37 The slave interfaces depend on the master interface. They can only brought up,
38 when the master interface is up.
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 ----------------------------------
78 DSA switches. These switches are capable to tag incoming and outgoing traffic
84 .. code-block:: sh
91 # The master interface needs to be brought up before the slave ports.
92 ip link set eth0 up
94 # bring up the slave interfaces
95 ip link set lan1 up
96 ip link set lan2 up
97 ip link set lan3 up
102 .. code-block:: sh
104 # The master interface needs to be brought up before the slave ports.
105 ip link set eth0 up
107 # bring up the slave interfaces
108 ip link set lan1 up
109 ip link set lan2 up
110 ip link set lan3 up
115 # add ports to bridge
123 # bring up the bridge
124 ip link set dev br0 up
129 .. code-block:: sh
131 # The master interface needs to be brought up before the slave ports.
132 ip link set eth0 up
134 # bring up the slave interfaces
135 ip link set wan up
136 ip link set lan1 up
137 ip link set lan2 up
145 # add ports to bridge
152 # bring up the bridge
153 ip link set dev br0 up
155 .. _dsa-vlan-configuration:
158 -------------------------------------
160 A minority of switches are not capable to use a taging protocol
166 The configuration can only be set up via VLAN tagging and bridge setup.
168 .. code-block:: sh
175 # The master interface needs to be brought up before the slave ports.
176 ip link set eth0 up
177 ip link set eth0.1 up
178 ip link set eth0.2 up
179 ip link set eth0.3 up
181 # bring up the slave interfaces
182 ip link set lan1 up
183 ip link set lan2 up
184 ip link set lan3 up
192 # add ports to bridges
207 # bring up the bridge devices
208 ip link set br0 up
214 .. code-block:: sh
219 # The master interface needs to be brought up before the slave ports.
220 ip link set eth0 up
221 ip link set eth0.1 up
223 # bring up the slave interfaces
224 ip link set lan1 up
225 ip link set lan2 up
226 ip link set lan3 up
234 # add ports to bridge
248 # bring up the bridge
249 ip link set dev br0 up
254 .. code-block:: sh
260 # The master interface needs to be brought up before the slave ports.
261 ip link set eth0 up
262 ip link set eth0.1 up
263 ip link set eth0.2 up
265 # bring up the slave interfaces
266 ip link set wan up
267 ip link set lan1 up
268 ip link set lan2 up
276 # add ports to bridges
291 # bring up the bridge devices
292 ip link set br0 up