[haiku-development] Re: Network Issues. Part I. The advice for debugging DHCP problems needed!

  • From: Romain <romain.haiku@xxxxxxxxxxx>
  • To: Haiku development <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 20 Nov 2009 00:35:15 +0100


>>We can also be smarter
>>and set it only if we do not have an ip
address yet.
>I don't think that violating RFC is a "smarter" way. 
>There
are only two cases are stated - either we can handle 
>unicast packets
before the interface is configured or we accept 
>broadcast to do the work.
And..... what will happen with 
>your scenario if you already have
_another_ ip than one 
>offered by the DHCP server? ;-) 

I totally agree
with you. This why I said "if we do not have an ip address yet". This
reminds me that IIRC, some clients are sending the first discover without
the broadcast flag, and in case of timeout on the offer, they send the
discover retries with the flag. 

Romain.

Other related posts: