Routing problem with MQX 4.0 on Windows PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a problem when I use RTCS on k60.
I configure this parameter for RTCS board:
ip 192.168.76.32
mask 255.255.255.0
gateway 192.168.76.1
and this parameter for my PC:
ip 192.168.67.87
mask 255.255.255.0
gateway 192.168.67.1
I see this things:
- The first ping from my PC to RTCS board correct works and the next doesn't work anytime (in this case RTCS board doesn't execute ping).
- After that I try to enable ping from RTCS board. If I don't make anything, RTCS ping runs always properly.
- if I run ping command from my PC to RTCS board, the ping runs properly for many minutes and then, when one ping fails, all the next ping fail.
When the first PC ping fails, also RTCS board RTCS ping fails and returns RTCSERR_IP_UNREACH error (code 0x1510 - no route to host). The next pings always fail and they return RTCSERR_IP_UNREACH error.
In this condition the operation is unpredictable.
I have this problem with windows-PC and linux-Server.
If I use linux computer I don't have anything of that problems (however I test from linux computer a few time).
If I force RTCS board mask to 255.255.0.0 system always runs properly, but I say you this because you have more information because this system has to work with mask 255.255.255.0 (I want to use gateway).
Would you know how to help me?
thanks in advance,
Michele


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Michele,
this depends on your network configuration setup rather than the MCU.
I can notice that you are using 2 different class C networks and I am assuming you have one router for each class C network joined together by a third router. I assume this because 2 devices with IP addresses form different C class networks are not able to communicate directly each other. In this case you must check your router table settings, something may be blocking the communication.
When you set mask of 255.255.0.0 your network behaves as a B class network, in this case both devices belong to the same network and they are able to communicate each other.
If you connect the board directly to a PC with IP addresses with the same network communication must not fail.
I hope this helps.
Best regards,
Carlos
