[En-Nut-Discussion] IP Configuration [was: Change the IP/gateway]
Harald Kipp
harald.kipp at egnite.de
Fri Nov 26 15:25:44 CET 2004
Hi,
there had been a lot of critics on this topic. I feel
quite comfortable with the current solution but agree,
that it's a hack.
There are a few things to consider when trying to shut
down interfaces, like:
- All connections need to be informed. They may be
not only in established state.
- ARP and routing need a reset.
May be there is more.
One word about user interfacing: It's the application's
task to provide a way for changing IP settings. The OS
can provide an API only, but no UART menu or whatever.
Finally, it should be taken into account, that some hardware
is equipped with a serial EEPROM containing the MAC address.
Harald
At 14:38 26.11.2004 +0100, you wrote:
> > Hell yes.
> > Though I'm great fan of Nut/OS, I must say that I really dislike this
> dirty way
> > CONFNET structure is handled in current Nut/OS - really nasty!
>
>Me too!!! In my eyes this is a point one should spend some time to. I'd
>like have a much more general interface. One should be able to
>shutdown / restart an interface on runtime and also change the ip
>address at any time. Everything should be configurable and multiple
>network interfaces should be possible. Also dhcp should work without any
>pseudo intelligent checks before...
>
>I have not took a deep look into the network code until now. If anybody
>has some proposals how to create such a more general interface let's
>discuss about it!
>
>Bye,
>
>Ole
More information about the En-Nut-Discussion
mailing list