<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ls1028a : l2switch configuration without bridge in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1028a-l2switch-configuration-without-bridge/m-p/1168452#M6794</link>
    <description>&lt;P&gt;&lt;BR /&gt;For my setup&lt;/P&gt;&lt;P&gt;similar to&amp;nbsp; &lt;SPAN&gt;&lt;STRONG&gt;4.2.12.3.3.3.2 CPU port without bridge&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;192.168.207&lt;/FONT&gt;.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;51&lt;/STRONG&gt;&lt;/FONT&gt;/24)-&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;eth2&lt;/FONT&gt;&lt;/STRONG&gt;-&lt;STRONG&gt;dev1&lt;/STRONG&gt; ------------ l&lt;STRONG&gt;s1028&lt;/STRONG&gt;-&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;swp3&lt;/FONT&gt;&lt;/STRONG&gt; (&lt;FONT color="#0000FF"&gt;192.168.207&lt;/FONT&gt;.&lt;STRONG&gt;&lt;FONT color="#000000"&gt;41&lt;/FONT&gt;&lt;/STRONG&gt;/24)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on LS1028&lt;/STRONG&gt;&lt;BR /&gt;swp3 UP bc:8d:bf:7c:5b:03 &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt;&lt;BR /&gt;swp3 UP 192.168.207.41/24&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on dev1&lt;/STRONG&gt;&lt;BR /&gt;eth2 192.168.207.51/24 u/u&lt;/P&gt;&lt;P&gt;ping 192.168.207.41&lt;BR /&gt;PING 192.168.207.41 (192.168.207.41) 56(84) bytes of data.&lt;BR /&gt;From 192.168.207.51 icmp_seq=1 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=2 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=3 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=4 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=5 Destination Host Unreachable&lt;/P&gt;&lt;P&gt;arp entry&lt;BR /&gt;192.168.207.41 (incomplete) eth2&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#0000FF"&gt;&lt;STRONG&gt;how do i debug this?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have also tried the provided script but that does not help either.&lt;/P&gt;&lt;P&gt;the pings still fail. how do i debug this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#!/bin/bash
#
# Simple switch configuration without bridge
# Assume both ENETC and Felix drivers are already loaded
MAC_ROOT=bc:8d:bf:7c:5b
swpip=192.168
# Configure switch ports
swps=($(ls /sys/bus/pci/devices/0000:00:00.5/net/))
let nr=${#swps[@]}
for (( i=0; i&amp;lt;$nr; i++ ))
do
ip link set ${swps[$i]} address $MAC_ROOT:$(echo "${swps[$i]}" | tr -dc '0-9')
ip addr add ${swpip}.${i}.1/24 dev ${swps[$i]}
ip link set ${swps[$i]} up
done
# bring up ENETC Port3
seth=$(ls /sys/bus/pci/devices/0000:00:00.6/net/)
ip link set $seth up&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 22:33:57 GMT</pubDate>
    <dc:creator>bharat_chaudhar</dc:creator>
    <dc:date>2020-10-15T22:33:57Z</dc:date>
    <item>
      <title>ls1028a : l2switch configuration without bridge</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-l2switch-configuration-without-bridge/m-p/1168452#M6794</link>
      <description>&lt;P&gt;&lt;BR /&gt;For my setup&lt;/P&gt;&lt;P&gt;similar to&amp;nbsp; &lt;SPAN&gt;&lt;STRONG&gt;4.2.12.3.3.3.2 CPU port without bridge&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;192.168.207&lt;/FONT&gt;.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;51&lt;/STRONG&gt;&lt;/FONT&gt;/24)-&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;eth2&lt;/FONT&gt;&lt;/STRONG&gt;-&lt;STRONG&gt;dev1&lt;/STRONG&gt; ------------ l&lt;STRONG&gt;s1028&lt;/STRONG&gt;-&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;swp3&lt;/FONT&gt;&lt;/STRONG&gt; (&lt;FONT color="#0000FF"&gt;192.168.207&lt;/FONT&gt;.&lt;STRONG&gt;&lt;FONT color="#000000"&gt;41&lt;/FONT&gt;&lt;/STRONG&gt;/24)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on LS1028&lt;/STRONG&gt;&lt;BR /&gt;swp3 UP bc:8d:bf:7c:5b:03 &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt;&lt;BR /&gt;swp3 UP 192.168.207.41/24&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on dev1&lt;/STRONG&gt;&lt;BR /&gt;eth2 192.168.207.51/24 u/u&lt;/P&gt;&lt;P&gt;ping 192.168.207.41&lt;BR /&gt;PING 192.168.207.41 (192.168.207.41) 56(84) bytes of data.&lt;BR /&gt;From 192.168.207.51 icmp_seq=1 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=2 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=3 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=4 Destination Host Unreachable&lt;BR /&gt;From 192.168.207.51 icmp_seq=5 Destination Host Unreachable&lt;/P&gt;&lt;P&gt;arp entry&lt;BR /&gt;192.168.207.41 (incomplete) eth2&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#0000FF"&gt;&lt;STRONG&gt;how do i debug this?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have also tried the provided script but that does not help either.&lt;/P&gt;&lt;P&gt;the pings still fail. how do i debug this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#!/bin/bash
#
# Simple switch configuration without bridge
# Assume both ENETC and Felix drivers are already loaded
MAC_ROOT=bc:8d:bf:7c:5b
swpip=192.168
# Configure switch ports
swps=($(ls /sys/bus/pci/devices/0000:00:00.5/net/))
let nr=${#swps[@]}
for (( i=0; i&amp;lt;$nr; i++ ))
do
ip link set ${swps[$i]} address $MAC_ROOT:$(echo "${swps[$i]}" | tr -dc '0-9')
ip addr add ${swpip}.${i}.1/24 dev ${swps[$i]}
ip link set ${swps[$i]} up
done
# bring up ENETC Port3
seth=$(ls /sys/bus/pci/devices/0000:00:00.6/net/)
ip link set $seth up&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 22:33:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-l2switch-configuration-without-bridge/m-p/1168452#M6794</guid>
      <dc:creator>bharat_chaudhar</dc:creator>
      <dc:date>2020-10-15T22:33:57Z</dc:date>
    </item>
  </channel>
</rss>

