uIP puzzler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uIP puzzler

578 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rattus on Thu Aug 18 18:02:06 MST 2011
I have a funny issue - using my original easyweb - based code I have no problem forwarding port 80 through my router to the prototype; with uIP, using the exact same IP address, the uIP-based example will not respond. On the LAN, both examples respond to port 80 enthusiastically.

Additional clues - on the internal network, the old easyweb example hardwired on Ethernet coexists with the wireless network; at the same IP address, the uIP example does not - I have to disable the wireless connection in order to access my hardwired Ethernet prototype. I have taken care to keep the IP address outside the DHCP range to eliminate possible conflicts, but have stayed within the same subnet range.

Any ideas from those who have more experience with uIP, as to where I ought to focus my debugging efforts?

Thanks,

Mike
0 Kudos
Reply
1 Reply

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gilm0079 on Mon Sep 19 05:13:37 MST 2011
I'm just getting into this so I'm not sure about the code yet, but from a network config standpoint I would make sure that the gateway and subnet mask are setup correctly for the uIP code.  When packets need to leave the local switched network (to go to the internet) the computer realizes the packets IP is not local (based on the subnet mask) and then forwards the packet to the gateway which will then forward the packet closer to it's destination.
0 Kudos
Reply