This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: Telnet Client Server communication issue with different class of IP address

Part Number: TM4C1294KCPDT

Hi,

I am using TM4C1294KCPDT MCU as Telnet Client using IP address 10.100.5.142 and trying to connect with server IP 192.168.0.253. But i am not able to ping with Server. My subnet mask is 255.0.0.0 and gateway address is 0. When i change my server IP to same class as of Client, it starts pinging. What is the issue with different class of IP addresses of Client and Server?

All suggestions are highly appreciated. Thanks

Best Regards,

Amit Deswal

  • Hello Amit

    I have asked our SME to help you out.
  • Hello Amit,

    Amit Deswal said:
    I am using TM4C1294KCPDT MCU as Telnet Client using IP address 10.100.5.142 and trying to connect with server IP 192.168.0.253. But i am not able to ping with Server. My subnet mask is 255.0.0.0

    The client and server IP address should be on the same network to communicate (without Internet). From the above provided IP addresses (and subnet mask), the IP address of server and client are on different networks.

    Amit Deswal said:
    ...and gateway address is 0.

    I don't understand this. Do you mean to say gateway IP address is 0.0.0.0? I don't think that is a valid IP address. Such an IP address will not be in the same network as the server or client. Moreover, the least significant byte (of the IP address) should not be 0 as it is reserved. Typically the least significant byte for Gateway IP address is "1". 

    Amit Deswal said:
    When i change my server IP to same class as of Client, it starts pinging. What is the issue with different class of IP addresses of Client and Server?

    Not sure what you mean by "class of IP addresses".

    Thanks,

    Sai

  • Hello Sai,

    Thanks for reply. My network is not connected with Internet. Got your point on Gateway as well. It can not be zero. There are 4 classes of IP addresses. Class A, B, C & D defined by 1st Octet of IP Address.

    Best Regards,
    Amit Deswal
  • Hello Amit,

    Amit Deswal said:
    There are 4 classes of IP addresses. Class A, B, C & D defined by 1st Octet of IP Address.

    I did not know that the IP addresses are divided into classes based on the octets used for network and host address. Thanks for providing this information. A quick google search on "classes of ip address" provided more reading material on this subject.

    Regards,

    Sai

  • Hello Sai,

    Hope you are doing good. Need your help/suggestion for below query.
    Our MCU (TM4C1294KCPDT) is in field testing phase after pilot production.

    We are testing multiple boards connected in the same network and observed that Telnet connection breaks down randomly after sometime.
    This problem is not specific to any particular board but random. Strangely, Ping command is working properly with broken Telnet Client device.

    What could be the solution or how to debug to root cause of this error?

    Thanks
    Best Regards,
    Amit Deswal