Lines Matching +full:ethernet +full:- +full:switch
1 .. SPDX-License-Identifier: GPL-2.0
4 DSA switch configuration from userspace
7 The DSA switch configuration is not integrated into the main userspace
10 .. _dsa-config-showcases:
13 -----------------------
15 To configure a DSA switch a couple of commands need to be executed. In this
19 Every switch port acts as a different configurable Ethernet port
22 Every switch port is part of one configurable Ethernet bridge
25 Every switch port except one upstream port is part of a configurable
26 Ethernet bridge.
27 The upstream port acts as different configurable Ethernet port.
32 Through DSA every port of a switch is handled like a normal linux Ethernet
33 interface. The CPU port is the switch port connected to an Ethernet MAC chip.
34 The corresponding linux Ethernet interface is called the master interface.
40 In this documentation the following Ethernet interfaces are used:
57 Further Ethernet interfaces can be configured similar.
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
102 .. code-block:: sh
129 .. code-block:: sh
155 .. _dsa-vlan-configuration:
158 -------------------------------------
168 .. code-block:: sh
214 .. code-block:: sh
254 .. code-block:: sh