<?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 MQX RTCS with TWR-SER2, routing between interfaces in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-with-TWR-SER2-routing-between-interfaces/m-p/388421#M12968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;I have a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-VF65GS10&amp;amp;fsrch=1"&gt;TWR-VF65GS10&lt;/A&gt; + TWR-SER2 running MQX 4.1.1&lt;/P&gt;&lt;P&gt;Im trying to accomplish the following scenario but im not sure if RTCS can actually do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWR-SER2 has w ethernet interfaces, MQX BSP for Vybrid supports using both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assigned interface 0 the following IP settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IP address: 192.168.1.200&lt;/P&gt;&lt;P&gt;Mask:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 255.255.255.0&lt;/P&gt;&lt;P&gt;Default Gateway: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface 1 has the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IP address: 192.168.2.200&lt;/P&gt;&lt;P&gt;Mask:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 255.255.255.0&lt;/P&gt;&lt;P&gt;Default Gateway: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface 0 is sitting on my home subnet, which is 192.168.1.0/24 and the default gateway for this subnet is my home router with ip 192.168.1.254&lt;/P&gt;&lt;P&gt;Interface 1 is connected directly to the Windows laptop network card. Laptop is not connected to any other network. Laptops ip is 192.168.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added 2 gateways using RTCS_gate_add(server ip, network, mask) command like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTCS_gate_add(IPADDR(192,168,1,254),IPADDR(192.168.1.0).0xFFFFFF00)&lt;/P&gt;&lt;P&gt;RTCS_gate_add(IPADDR(192,168,2,240),IPADDR(192.168.2.0).0xFFFFFF00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im running a basic web server demo from RTCS examples with 1 web server servicing both interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i can do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the windows laptop i can access demo website running on the board at both 192.168.2.200 and 192.168.1.200 ip addresses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what im trying to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to configure the board to be able to route traffic between interfaces. For example, i would like to be able to access another windows computer with ip address 192.168.1.100 from the windows laptop (192.168.2.2) connected to the tower board interface 1 with ip address 192.168.2.200&lt;/P&gt;&lt;P&gt;Is this possible? How can i accomplish this and setup RTCS to route traffic?&lt;/P&gt;&lt;P&gt;I have already enabled VIRTUAL_ROUTES in user_config.h as well as GATEWAYS, TCP,UDP and __IP_FORWARD=true in the demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if anyone knows how to do this or if routing is possible in RTCS at all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Nov 2014 21:05:25 GMT</pubDate>
    <dc:creator>igor-imx</dc:creator>
    <dc:date>2014-11-08T21:05:25Z</dc:date>
    <item>
      <title>MQX RTCS with TWR-SER2, routing between interfaces</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-with-TWR-SER2-routing-between-interfaces/m-p/388421#M12968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;I have a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-VF65GS10&amp;amp;fsrch=1"&gt;TWR-VF65GS10&lt;/A&gt; + TWR-SER2 running MQX 4.1.1&lt;/P&gt;&lt;P&gt;Im trying to accomplish the following scenario but im not sure if RTCS can actually do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWR-SER2 has w ethernet interfaces, MQX BSP for Vybrid supports using both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assigned interface 0 the following IP settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IP address: 192.168.1.200&lt;/P&gt;&lt;P&gt;Mask:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 255.255.255.0&lt;/P&gt;&lt;P&gt;Default Gateway: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface 1 has the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IP address: 192.168.2.200&lt;/P&gt;&lt;P&gt;Mask:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 255.255.255.0&lt;/P&gt;&lt;P&gt;Default Gateway: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface 0 is sitting on my home subnet, which is 192.168.1.0/24 and the default gateway for this subnet is my home router with ip 192.168.1.254&lt;/P&gt;&lt;P&gt;Interface 1 is connected directly to the Windows laptop network card. Laptop is not connected to any other network. Laptops ip is 192.168.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added 2 gateways using RTCS_gate_add(server ip, network, mask) command like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTCS_gate_add(IPADDR(192,168,1,254),IPADDR(192.168.1.0).0xFFFFFF00)&lt;/P&gt;&lt;P&gt;RTCS_gate_add(IPADDR(192,168,2,240),IPADDR(192.168.2.0).0xFFFFFF00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im running a basic web server demo from RTCS examples with 1 web server servicing both interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i can do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the windows laptop i can access demo website running on the board at both 192.168.2.200 and 192.168.1.200 ip addresses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what im trying to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to configure the board to be able to route traffic between interfaces. For example, i would like to be able to access another windows computer with ip address 192.168.1.100 from the windows laptop (192.168.2.2) connected to the tower board interface 1 with ip address 192.168.2.200&lt;/P&gt;&lt;P&gt;Is this possible? How can i accomplish this and setup RTCS to route traffic?&lt;/P&gt;&lt;P&gt;I have already enabled VIRTUAL_ROUTES in user_config.h as well as GATEWAYS, TCP,UDP and __IP_FORWARD=true in the demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if anyone knows how to do this or if routing is possible in RTCS at all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Nov 2014 21:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-with-TWR-SER2-routing-between-interfaces/m-p/388421#M12968</guid>
      <dc:creator>igor-imx</dc:creator>
      <dc:date>2014-11-08T21:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS with TWR-SER2, routing between interfaces</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-with-TWR-SER2-routing-between-interfaces/m-p/388422#M12969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I see the IP_FORDWARD should work. Please make sure you set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: Arial; font-size: 10pt;"&gt;/* Enable IP forwarding: */&lt;/SPAN&gt;&lt;SPAN style="font-family: Times New Roman;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Segoe UI; font-size: 10pt;"&gt; _IP_forward = TRUE;&lt;/SPAN&gt;&lt;SPAN style="font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In execution time, meaning in your application and not in the user_config.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-with-TWR-SER2-routing-between-interfaces/m-p/388422#M12969</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-11-12T18:26:40Z</dc:date>
    </item>
  </channel>
</rss>

