Is there anyway that I can achieve that? On Thu, Apr 30, 2009 at 12:26 PM, Simon Goldschmidt <[email protected]>wrote:
> > Then Kieran's answer is correct, I guess: you'd need a router to > communicate in that situation: Even if you would disable the check on > receiving, the response packets (ACK etc.) would be sent to lwIP's default > gateway (instead of the windows PC's IP) since the outgoint IP (192.168.1.x > in your case) wouldn't match any netif's network. > > Simon > > > > Yes, Simon. that's what i mean. > > I want packet transfer across 192.168.0.x (lwip device) and 192.168.1.x > > (other PCs). > > > > for example, from PC, i can use 'Route add' and "arp -s' commands to > > direct > > packet to my lwip device. but I think LWIP dropping the incoming packet > > from > > 192.168.1.x because they got different network number. > > > > Regards > > > > On Thu, Apr 30, 2009 at 12:01 PM, Simon Goldschmidt > > <[email protected]>wrote: > > > > > I don't get it: Do you mean your lwIP device has to have 2 IP > addresses, > > or > > > do you want the device to have 192.168.0.x and accept packets from > > > 192.168.1.x?? > > > > > > Simon > > > > > > > > > > Hi, > > > > > > > > I need to sent & receive data between 2 different network address. > One > > is > > > > 192.168.0.x and another is 192.168.1.x > > > > > > > > In etharp.c, etharp_ip_input() and etharp_ip_output(), it check > > > > 'ip_addr_netcmp' > > > > macro and drop the packet if the network number is not the same > > between 2 > > > > different IP address. > > > > > > > > Would that be violate TCP/IP protocol if I commented out that > checking > > to > > > > enable 192.168.0.x and 192.168.1.x to communicate across? > > > > > > > > Regards > > > > > > > > -- > > > > Bandu > > > > [email protected] > > > > > > -- > > > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit > > allen: > > > http://www.gmx.net/de/go/multimessenger01 > > > > > > > > > _______________________________________________ > > > lwip-users mailing list > > > [email protected] > > > http://lists.nongnu.org/mailman/listinfo/lwip-users > > > > > > > > > > > -- > > Bandu > > [email protected] > > -- > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + > Telefonanschluss für nur 17,95 Euro/mtl.!* > http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > -- Bandu [email protected]
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
