[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] How to get network address (MAC) of gateway
From: |
Kieran Mansley |
Subject: |
RE: [lwip-users] How to get network address (MAC) of gateway |
Date: |
Thu, 09 Oct 2008 09:23:11 +0100 |
On Thu, 2008-10-09 at 09:16 +0200, B B wrote:
>
> Hi again,
>
> i am still looking into this, if someone could tell if this is
> possible or not,
> that would be very helpful.
>
> I am using the netconn api. and lwip is running in an OS, freertos.
>
> I have looked at etharp.c, and i see that i can make a query, but this
> only, gives an indication of whether or not an ip address is in use.
> Thats how dhcp is using this module.
>
> I my case, the dhcp server and default gateway, is not one and the
> same.
Does the reply from the DHCP server when you request an IP address
include the gateway to use?
Kieran