[En-Nut-Discussion] IP forwarding added
Harald Kipp
harald.kipp at egnite.de
Thu Sep 20 13:08:06 CEST 2012
Hi Ole,
On 20.09.2012 11:25, Ole Reinhardt wrote:
> I think you currently have tested this with PPP / Ethernet? Do you just
> have an Idea how much has to be changed to be able to register two
> Ethernet interfaces?
Yes, in my test environment I forwarded IP packets between PPP and Ethernet. Actually I didn't change anything regarding multiple interfaces, it worked out of the box. I didn't expect any problems when using two (or more) Ethernet ports.
> We definitely will have adapt the PHY registration in a way that a PHY
> is assigned to each Ethernet driver instance and not handled global (as
> it currently is).
You mean the latest changes that had been taken over from the CM3 development branch?
> PS: Do you have an idea, how much effort and resources would be needed
> to implement NAT?
Some bookkeeping will be required. The required memory space will mainly depend on the number of connections that need to be handled. In addition, the header checksums need to be recalculated. But I think that even an 8-bit CPU can do this.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list