buglwIP - A Lightweight TCP/IP stack - Bugs: bug #54914, lwIP-> connection failed from...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54914: lwIP-> connection failed from different network

Submitter:  AJEESH <ajsndd>
Submitted:  Mon 29 Oct 2018 09:39:45 PM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.4.1

Jump to the original submission

Tue 30 Oct 2018 08:16:57 PM UTC, comment #7: 

Hmm, ok, if it's really like that, it can't work...

Now I'm confused :-/

Simon Goldschmidt <goldsimon>
Group administrator
Tue 30 Oct 2018 07:42:11 PM UTC, comment #6: 

Based on the NCS_ISSUE.png attached file, there are only two devices in one Ethernet segment, the board running lwIP and a PC, no gateway. Unless the network diagram is totally wrong it can't work :-)

Sylvain Rochet <gradator>
Group Member
Tue 30 Oct 2018 06:57:49 AM UTC, comment #5: 

I don't think this is a broken IP config. The two hosts should just communicat via gateways. This should just work. You're probably doing something wrong.

I can only repeat what I wrote in the last bug entry you submitted: this is not a bug in lwIP but somewhere in your code.

PLEASE DONT OPEN YET ANOTHER BUG: if you have more questions, please use the lwip-users mailing list for discussion!

Simon Goldschmidt <goldsimon>
Group administrator
Tue 30 Oct 2018 06:55:02 AM UTC, comment #4: 

I'd say your gateways are not working correctly.

Since 10.236.155.30 and 10.236.26.180 are not in the same subnet according to you netmask, lwIP and the PC should be trying to communicate via the gateways (10.236.155.1 and 10.236.26.129). If you have a network tap or a managed switch with monitoring port, try to capture the traffic of the embedded device and check if it contacts the gateway. On the PC, wireshark will tell you whether the PC contacts the gateway. I'm 99% sure they both do and there is something wrong with your gateways.

Dirk Ziegelmeier <dziegel>
Group administrator
Tue 30 Oct 2018 03:58:53 AM UTC, comment #3: 

Hi,

Do have any settings change for this network access?

AJEESH <ajsndd>
Mon 29 Oct 2018 10:12:59 PM UTC, comment #2: 

Hi,

With same configuration another one ETHERNET to SERIAL MODULE is working. If I am using that module then our device is working.

Our client want to use the same network configurations.
Please find the attached image for client requirement.
Please help


AJEESH <ajsndd>
Mon 29 Oct 2018 09:49:59 PM UTC, comment #1: 

So, it doesn't work with a broken configuration, what do you expect ?

10.236.155.30 is not within 10.236.26.128/26, it can't work.

Sylvain Rochet <gradator>
Group Member
Mon 29 Oct 2018 09:39:45 PM UTC, original submission:  

Hi,

I am facing issues in two different type IP address.
Not able to connect from my host device to embedded device if I am configuring as below.

device IP: 10.236.155.30
      SBM: 255.255.255.224
      GW : 10.236.155.1


PC IP    : 10.236.26.180
   SBM   : 255.255.255.192
   GW    : 10.236.26.129


But it is working when I change PC IP to 10.236.155.24

Kindly help this

AJEESH <ajsndd>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #45324:  NCS_ISSUE.png added by ajsndd (312KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by gradator (Posted a comment)
  • -email is unavailable- added by ajsndd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-29 ajsndd Attached File- Added client netowrk config details.png, #45325
    2018-10-29 gradator StatusNone Invalid
        Open/ClosedOpen Closed
    2018-10-29 ajsndd Attached File- Added NCS_ISSUE.png, #45324

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code