[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Defining the default route
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Defining the default route |
Date: |
Mon, 19 Mar 2012 19:03:09 +0100 |
Mason <address@hidden> wrote:
> 1) The correct function to use is netif_set_default, right?
>
> 2) If I use static addressing, I have to declare the
> default route myself, using netif_set_default?
>
> 3) When using DHCP, does the DHCP code take care of
> declaring the default route, or do I have to do it
> myself, like point 2?
1) is always right. DHCP or AutoIP cannot change routing: you can have multiple
netifs with DHCP or AutoIP enabled.
>
Simon