{{template>en:templates:tabs_sbc_yocto_bootstrap|product_type="Single Board Computer"|lang="en"|mod_name="tqmls1028a"|sbc_name="mbls1028a-ind"|mod_name_head="MBLS1028A-IND"|mod_arch="layerscape"|bsp_name="linux"|bsp_name_head="Linux"|build_system="yocto"|build_system_head="Yocto"}} ==== Configure the ethernet switch in bridge mode ==== The TSN switch of the STKLS1028A is not configured by default. The master interface eno2 is enbabled by default, so it is not necesarry to bring it up manually. === Single port configuration === Every single switch port acts as a configurable Ethernet port # Configure each single switch interface and bring it up. $ ip addr add 192.168.1.2 dev swp0 && ip link set swp0 up $ ip addr add 192.168.1.3 dev swp1 && ip link set swp1 up $ ip addr add 192.168.1.4 dev swp2 && ip link set swp2 up $ ip addr add 192.168.1.5 dev swp3 && ip link set swp3 up === Bridge configuration === Every switch port is part of one configurable Ethernet bridge. # Create a bridge device in this example it is called switch $ ip link add name switch type bridge # Bring up the bridge device $ ip link set switch up # Add the interfaces to the bridge device switch and bring them up. $ ip link set swp0 master switch && ip link set swp0 up $ ip link set swp1 master switch && ip link set swp1 up $ ip link set swp2 master switch && ip link set swp2 up $ ip link set swp3 master switch && ip link set swp3 up # Configure bridge device $ ip addr add 192.168.1.2 dev switch