lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] 2 different network number


From: Bandu
Subject: Re: [lwip-users] 2 different network number
Date: Thu, 30 Apr 2009 12:09:02 +0100

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 <address@hidden> 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
> address@hidden

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



--
Bandu
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]