The short and curlies of vista networking

Tim Judd tajudd at gmail.com
Thu Jun 18 22:25:50 UTC 2009


The broadcast definition in his snippet is in his subnet declaration.
It is used within the TCP/IP paramaters when it's offering the lease.

DHCP protocol is what you're talking about.  And the client has
0.0.0.0 and broadcasts 255.255.255.255 to find any dhcp server that
might be out there.  But my statement is for his subnet block which
should be clarified.


On 6/18/09, Glen Barber <glen.j.barber at gmail.com> wrote:
> On Thu, Jun 18, 2009 at 5:51 PM, Tim Judd<tajudd at gmail.com> wrote:
>> Replies inline
>>
>> On 6/18/09, Mel Flynn <mel.flynn+fbsd.questions at mailing.thruhere.net>
>> wrote:
>>> On Thursday 18 June 2009 10:27:44 Tim Judd wrote:
>>>> Long ago in 2007, I saw a M$ article that describes that Vista has an
>>>> extremely short delay period to get an IP.  If it doesn't get it
>>>> within 1 second, it gives up (and maybe tries again).  Common DHCP
>>>> servers ping an IP address, wait 1 second for a reply, and if no
>>>> reply, assumes the IP is available and leases it to the booting
>>>> computer.
>>> ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's db
>>> is
>>> the authority on available iP's for the range.
>>
>> dhcpd.conf(5)
>> search for ping-check or ping-timeout
>>
>> http://www.freebsd.org/cgi/man.cgi?query=dhcpd.conf&apropos=0&sektion=5&manpath=FreeBSD+7.2-RELEASE+and+Ports&format=html
>>
>>
>>>
>>>> Is your DHCP server authoritative?
>>>
>>> Yes:
>>> authoritative;
>>> ddns-update-style interim;
>>>
>>> subnet 192.168.2.0 netmask 255.255.255.0 {
>>>     range 192.168.2.200 192.168.2.254;
>>>
>>>     option subnet-mask 255.255.255.0;
>>>     option broadcast-address 255.255.255.255;
>>>     option domain-name "lan.rachie.is-a-geek.net";
>>>     option domain-name-servers 192.168.2.51;
>>>     option routers 192.168.2.1;
>>>
>>>     option ntp-servers 192.168.2.10;
>>>     option wpad "http://192.168.2.100/proxy.pac";
>>>
>>>     # Dynamic DNS setup
>>>       <snipped for brevity>
>>> }
>>
>> A broadcast of 255.255.255.255 is misconfigured (not saying it's not
>> gonna work, I'm saying for your network, it's not configured right).
>> you need broadcast-address 192.168.2.255
>>
>
> That is not 100% correct.  By default, dhclient will send an initial
> DHCPREQUST to 0.0.0.0 (meaning "this network").  The request is picked
> up from the DHCP server broadcasting on 255.255.255.255.
>
>
>
> --
> Glen Barber
>


More information about the freebsd-questions mailing list