will "NAT for lwIP" work with DHCP address mode?

View: New views
5 Messages — Rating Filter:   Alert me  

will "NAT for lwIP" work with DHCP address mode?

by bandu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
will "NAT for lwIP" work with DHCP address mode?
 
Is there any example code available with "NAT for lwIP" source?
 
thank you very much,

--
Bandu
m.bandu@...

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

Re: will "NAT for lwIP" work with DHCP address mode?

by Kieran Mansley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-10-29 at 15:44 +0000, Bandu wrote:
> Hi,
>  
> will "NAT for lwIP" work with DHCP address mode?

Assuming you mean "will lwIP work with an IP address that is given by a
NAT server", yes.  

Kieran



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

Re: will "NAT for lwIP" work with DHCP address mode?

by Simon Goldschmidt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What exactly do you mean with "NAT for lwIP"? There has been code for
that around and there is a task for this on savannah (task #7506: NAT
support for lwIP). However, I assume both aren't used widely and I do
not know of any example code for it.

For it to work with DHCP, I guess NAT will have to be initialized after
the DHCP client got an address from the server (and thus the netif is
set up)?

Simon


Bandu wrote:

> Hi,
>  
> will "NAT for lwIP" work with DHCP address mode?
>  
> Is there any example code available with "NAT for lwIP" source?
>  
> thank you very much,
>
> --
> Bandu
> m.bandu@... <mailto:m.bandu@...>
> ------------------------------------------------------------------------
>
> _______________________________________________
> lwip-users mailing list
> lwip-users@...
> http://lists.nongnu.org/mailman/listinfo/lwip-users



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

Re: will "NAT for lwIP" work with DHCP address mode?

by bandu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Kieran,
 
 
I just want to find out what is that for.
Am I right in thinking that implementation will enable my device to be able to accept connection from device with different subnets?
 
I understand that "NAT for lwIP" is not part of LWIP. But just wish some one might know what is that for.
 
regards,
 
Bandu

On Thu, Oct 29, 2009 at 3:50 PM, Kieran Mansley <kieran@...> wrote:
On Thu, 2009-10-29 at 15:44 +0000, Bandu wrote:
> Hi,
>
> will "NAT for lwIP" work with DHCP address mode?

Assuming you mean "will lwIP work with an IP address that is given by a
NAT server", yes.

Kieran



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



--
Bandu
m.bandu@...

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

Re: will "NAT for lwIP" work with DHCP address mode?

by Kieran Mansley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-10-29 at 16:16 +0000, Bandu wrote:

> Hi Kieran,
>  
> I found http://www.sm.luth.se/~conny/nat/index.html (NAT for lwIP).
>  
> I just want to find out what is that for.
> Am I right in thinking that implementation will enable my device to be
> able to accept connection from device with different subnets?
>  
> I understand that "NAT for lwIP" is not part of LWIP. But just wish
> some one might know what is that for.

I would try contacting the author:

http://www.sm.luth.se/~conny/index.html

but as the code seems to be about 6 years old, I wouldn't expect it to
"just work" - you'll almost certainly have to update it to work with a
current version of lwIP at least.

Kieran



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