uIP puzzler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

uIP puzzler

631 次查看
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 项奖励
回复
1 回复

608 次查看
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 项奖励
回复