<?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 Re: Subnetting with NicheLite in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179856#M7290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;bkatt wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; You could get what you want by simply adding "else firsthop = p-&amp;gt;fhost;" in place of the error&lt;/P&gt;&lt;P&gt;&amp;gt; phrase,&amp;nbsp;&amp;nbsp;but I would call that an enhancement, not a bug fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That code change did change the behavior as expected, but routing with a router is still dead, with or without DHCP turned on. &amp;nbsp;The comment at the top of the file, "no real routing", says a lot, I had more expectations for NicheLite than it's going to deliver. &amp;nbsp;I'm going to drop back, document the limitation to the end users, and maybe lock out the ability for them to set a subnetmask and gateway.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Mar 2010 22:58:13 GMT</pubDate>
    <dc:creator>Dave_the_K</dc:creator>
    <dc:date>2010-03-02T22:58:13Z</dc:date>
    <item>
      <title>Subnetting with NicheLite</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179852#M7286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the NicheLite networking stack on a Coldfire 52233 processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the subnet mask is set to 0.0.0.0, then everything works fine, I can communicate with the Coldfire by adding a route table entry to the workstation.&amp;nbsp; Coldfire and workstation are on different subnets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I set any subnetmask, and DHCP is not in use, then the device does not respond to pings or any other requests to it.&amp;nbsp; The ARP who-has/tell communication looks good, but the device won't answer the ping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the device just won't respond to activity off its subnet, with a subnetmask set.&amp;nbsp; Other tcp/ip implementations I'm familiar with work fine with just the entry in the workstation routing table.&amp;nbsp; Is there some reason the NicheLite stack is so picky?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2010 10:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179852#M7286</guid>
      <dc:creator>Dave_the_K</dc:creator>
      <dc:date>2010-02-27T10:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Subnetting with NicheLite</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179853#M7287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Dave_the_K wrote:&lt;BR /&gt;&lt;P&gt;I'm using the NicheLite networking stack on a Coldfire 52233 processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the subnet mask is set to 0.0.0.0, then everything works fine, I can communicate with the Coldfire by adding a route table entry to the workstation.&amp;nbsp; Coldfire and workstation are on different subnets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I set any subnetmask, and DHCP is not in use, then the device does not respond to pings or any other requests to it.&amp;nbsp; The ARP who-has/tell communication looks good, but the device won't answer the ping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the device just won't respond to activity off its subnet, with a subnetmask set.&amp;nbsp; Other tcp/ip implementations I'm familiar with work fine with just the entry in the workstation routing table.&amp;nbsp; Is there some reason the NicheLite stack is so picky?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use DHCP, it automatically gets a default gateway. Otherwise, there is no default gateway, thus no place to send to destinations outside the subnet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can arrange to set a default gateway any time you set a subnet mask, that should fix it without changing the code. Note that setting an IP via the console interface sets a non-zero mask according to the old class A/B/C rules, but leaves the gateway alone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, you could change the code to recognize default gateway 0 as a special case, and attempt to route through arp anyway instead of dropping the packet (this is all in the arp module).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2010 20:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179853#M7287</guid>
      <dc:creator>bkatt</dc:creator>
      <dc:date>2010-02-27T20:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Subnetting with NicheLite</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179854#M7288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bkatt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. &amp;nbsp;I'm away from the system for the weekend. &amp;nbsp;However, I had previously tried setting a gateway address on the Coldfire's subnet, along with a mask. &amp;nbsp;I saw no attempt at communication with the gateway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It just seems strange that the Coldfire responds to the ARP who-has/tell packet appropriately, but won't respond to the ping request. &amp;nbsp;Other products I've tested do work when configured the same way. &amp;nbsp;Perhaps NicheLite doesn't intend to support subnetting as delivered? &amp;nbsp;I'm just taking over this project from somebody else, not familiar with all the background.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't found much discussion on the net on the subject, just a development board using NicheLite that says a fixed IP must be on the same subnet as the workstation. &amp;nbsp;Seems overly restrictive to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2010 02:09:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179854#M7288</guid>
      <dc:creator>Dave_the_K</dc:creator>
      <dc:date>2010-02-28T02:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Subnetting with NicheLite</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179855#M7289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;...&lt;P&gt;However, I had previously tried setting a gateway address on the Coldfire's subnet, along with a mask. &amp;nbsp;I saw no attempt at communication with the gateway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;,,,&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you are mistaken about that. The code in queation is actually at the start of the ip_write() function in the m_ip module. You could get what you want by simply adding "else firsthop = p-&amp;gt;fhost;" in place of the error phrase, but I would call that an enhancement, not a bug fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main flaw in this area is that there is no easy way to configure the default gateway (or a non-standard mask) unless DHCP is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are serious problems with the way broadcasts are handled, resulting in only the all-bits set broadcast working as a side effect of buggy code that fails to handle the subnet broadcast.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 20:22:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179855#M7289</guid>
      <dc:creator>bkatt</dc:creator>
      <dc:date>2010-03-01T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subnetting with NicheLite</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179856#M7290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;bkatt wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; You could get what you want by simply adding "else firsthop = p-&amp;gt;fhost;" in place of the error&lt;/P&gt;&lt;P&gt;&amp;gt; phrase,&amp;nbsp;&amp;nbsp;but I would call that an enhancement, not a bug fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That code change did change the behavior as expected, but routing with a router is still dead, with or without DHCP turned on. &amp;nbsp;The comment at the top of the file, "no real routing", says a lot, I had more expectations for NicheLite than it's going to deliver. &amp;nbsp;I'm going to drop back, document the limitation to the end users, and maybe lock out the ability for them to set a subnetmask and gateway.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 22:58:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Subnetting-with-NicheLite/m-p/179856#M7290</guid>
      <dc:creator>Dave_the_K</dc:creator>
      <dc:date>2010-03-02T22:58:13Z</dc:date>
    </item>
  </channel>
</rss>

