<?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>LayerscapeのトピックRe: LX2160ARDB ip forwarding not working</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1233502#M7562</link>
    <description>&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;I changed the dst mac address to&amp;nbsp;&lt;SPAN&gt;00:E0:0C:00:77:01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but now frames are discarded at ingress and not transmitted to the other interface.&lt;/P&gt;&lt;P&gt;Do you know what causes this behavior? Shouldn't the board transmit frames in this configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Feb 2021 09:10:28 GMT</pubDate>
    <dc:creator>LeNormich</dc:creator>
    <dc:date>2021-02-19T09:10:28Z</dc:date>
    <item>
      <title>LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1231997#M7541</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm trying to use the LX2160ARDB as a router but I can't manage to have ip forwarding working.&lt;/P&gt;&lt;P&gt;I'm using the setup in attached files.&lt;/P&gt;&lt;P&gt;The traffic generator sends frames with the following properties:&lt;/P&gt;&lt;P&gt;- ip src=192.85.1.3&lt;/P&gt;&lt;P&gt;- ip dst = 192.85.2.3&lt;/P&gt;&lt;P&gt;- mac src=00:10:94:00:00:01&lt;/P&gt;&lt;P&gt;- mac dst = 00:10:94:00:00:02&lt;/P&gt;&lt;P&gt;- protocol udp&lt;/P&gt;&lt;P&gt;- size 1400 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following commands on LX2160:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;ls-addni -nq=16 -t=8 dpmac.3    //creates eth2
ls-addni -nq=16 -t=8 dpmac.4    //creates eth3
ifconfig eth2 hw ether 00:E0:0C:00:77:01
ifconfig eth2 192.85.1.1/24 up
ifconfig eth3 hw ether 00:E0:0C:00:77:02
ifconfig eth3 192.85.2.1/24 up
arp -s 192.85.1.3 00:10:94:00:00:01
arp -s 192.85.2.3 00:10:94:00:00:02
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward
echo 1 &amp;gt; /proc/sys/net/ipv4/conf/all/forwarding​&lt;/LI-CODE&gt;&lt;P&gt;I see the frames arriving on eth2 but they are never transmitted to eth3 and back to the generator.&lt;/P&gt;&lt;P&gt;using restool dpni, I see that the frames arrive on interface as "ingress_filtered_frames" increases.&lt;/P&gt;&lt;P&gt;Does someone know why is traffic not sent to the other interface as ip forward should do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 10:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1231997#M7541</guid>
      <dc:creator>LeNormich</dc:creator>
      <dc:date>2021-02-17T10:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1232843#M7556</link>
      <description>&lt;P&gt;&lt;BR /&gt;If you want your frames to be processed by a host in any way, the frames must&lt;BR /&gt;contain the MAC address of that host in L2 destination address field. You set your&lt;BR /&gt;eth2 MAC address to 00:E0:0C:00:77:01 (ifconfig eth2 hw ether 00:E0:0C:00:77:01)&lt;BR /&gt;and send test frames with mac dst = 00:10:94:00:00:02. It is therefore no surprise that&lt;BR /&gt;they are dropped at eth2 by ingress filtering (DPAA2RM, Section 7.3.25).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Platon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 12:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1232843#M7556</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2021-02-18T12:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1233502#M7562</link>
      <description>&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;I changed the dst mac address to&amp;nbsp;&lt;SPAN&gt;00:E0:0C:00:77:01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but now frames are discarded at ingress and not transmitted to the other interface.&lt;/P&gt;&lt;P&gt;Do you know what causes this behavior? Shouldn't the board transmit frames in this configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 09:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1233502#M7562</guid>
      <dc:creator>LeNormich</dc:creator>
      <dc:date>2021-02-19T09:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1234273#M7574</link>
      <description>&lt;P&gt;&lt;BR /&gt;It is not fully clear how the behaviour of the system changed, if at all.&lt;BR /&gt;Frames drop at ingress were the problem described in the initial post in this&lt;BR /&gt;tread. Do you observe any changes in the system reaction to the test stream&amp;nbsp; &lt;BR /&gt;after you adjusted the destination MAC, or it is just the same?&lt;/P&gt;
&lt;P&gt;Best Regrds&lt;BR /&gt;Platon&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 09:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1234273#M7574</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2021-02-22T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1234280#M7575</link>
      <description>&lt;P&gt;Sorry, i wasn't precise enough: now the "ingress_discarded_frames" counter increases instead of "filtered_frames".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 09:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1234280#M7575</guid>
      <dc:creator>LeNormich</dc:creator>
      <dc:date>2021-02-22T09:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB ip forwarding not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1246536#M7681</link>
      <description>&lt;P&gt;the following command solved it:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sudo iptables -P FORWARD ACCEPT&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-ip-forwarding-not-working/m-p/1246536#M7681</guid>
      <dc:creator>LeNormich</dc:creator>
      <dc:date>2021-03-16T15:24:37Z</dc:date>
    </item>
  </channel>
</rss>

