Date: Sat, 1 Sep 2007 18:13:21 -0700 (PDT) From: Joe <josepha48@yahoo.com> Cc: recipient list not shown: ; Subject: Re: how to change isc-dhcp3-server replies? (was: Message-ID: <20070902011321.80204.qmail@web34607.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
isc-dhcp3-server issues with windows 2000 client) To: freebsd-questions@freebsd.org In-Reply-To: <20070902000628.BD4AC16A4D5@hub.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1649509927-1188695601=:80192" Content-Transfer-Encoding: 8bit Message-ID: <513147.80192.qm@web34607.mail.mud.yahoo.com> --0-1649509927-1188695601=:80192 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Ok, no so true. I am watching tcpdump output from the two binaries. The old binary sends its reply to 255.255.255.255, while the new one sends its reply to 192.168.0.15. Same config file and I tried the always-broadcast flag, and it only sets the bit for the client, but the server still broadcasts its reply to the client on the subnet mask. Old client reply (ml.. is server af is client): 1188694380.961642 ml:ml:ml:ml:ml:ml > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 328) 192.168.0.15.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length: 300, xid:0x77915dc3, flags: [Broadcast] (0x8000) Your IP: 192.168.0.13 Client Ethernet Address: af:af:af:af:af:af [|bootp] new client does not do this and clients do not get their ip address. I read somewhere that linux had a problem doing this in 2.2 kernels and it has something to do with the routing table in linux. Not sure what is going on here, but the routing table looks fine. Joe freebsd-questions-request@freebsd.org wrote: > > It seems that the dhcpd server is replying to the subnet and not the > > broadcast net. So the reply that should be sent to 255.255.255.255:68 is > > sent to 192.168.0.255:68. Then, because the client has no IP address or > > has defaulted it to a 169.x.x.x(MS defaults) it does not seem to be > > getting the reply and thus never gets an address assigned. > It is for DHCPDISCOVER, since there is no subnet yet: # dhclient -d fxp0 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 4 As for the option you're looking for, man dhcpd.conf showed me this: always-broadcast flag; --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. --0-1649509927-1188695601=:80192 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Ok, no so true. I am watching tcpdump output from the two binaries. The old binary sends its reply to 255.255.255.255, while the new one sends its reply to 192.168.0.15. Same config file and I tried the always-broadcast flag, and it only sets the bit for the client, but the server still broadcasts its reply to the client on the subnet mask. <br><br>Old client reply (ml.. is server af is client): <br><br>1188694380.961642 ml:ml:ml:ml:ml:ml > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 328) 192.168.0.15.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length: 300, xid:0x77915dc3, flags: [Broadcast] (0x8000)<br> Your IP: 192.168.0.13<br> Client Ethernet Address: af:af:af:af:af:af [|bootp]<br><br>new client does not do this and clients do not get their ip address. I read somewhere that linux had a problem doing this in 2.2 kernels and it has something to do with the routing table in linux. Not sure what is going on here, but the routing table looks fine. <br><br>Joe<br><br><b><i>freebsd-questions-request@freebsd.org</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b.movaqar@gmail.com><tfcheng@gmail.com><freebsd-questions@freebsd.org><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><danger@FreeBSD.org><gpeel@thenetnow.com><tfcheng@gmail.com><fbsd.questions@rachie.is-a-geek.net><f84c38580709010517l3e0759c9ue0d03c1b57da8d9b@mail.gmail.com><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><outbackdingo@gmail.com><listreader@lazlarlyricon.com><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><listreader@lazlarlyricon.com><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><pauls@utdallas.edu><EFC892EF4A4C0B8558045427@paul-schmehls-powerbook59.local><gpeel@thenetnow.com><xyin@bluebottle.com><redchin@gmail.com><freebsd-questions@freebsd.org><xyin@bluebottle.com><fbsd.questions@rachie.is-a-geek.net><peo@intersonic.se><kris@FreeBSD. org><kris@FreeBSD.org><peo@intersonic.se><listreader@lazlarlyricon.com><fbsd.questions@rachie.is-a-geek.net><youshi10@u.washington.edu><Mike.Gerdes@philotech.de><xyin@bluebottle.com><fbsd.questions@rachie.is-a-geek.net><tfcheng@gmail.com><fbsd.questions@rachie.is-a-geek.net><f84c38580709010943s10045fd4v6923cd450a1f0c1b@mail.gmail.com><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><fbsd.questions@rachie.is-a-geek.net><peo@intersonic.se><kris@FreeBSD.org><kris@FreeBSD.org><peo@intersonic.se><josepha48@yahoo.com><freebsd-questions@freebsd.org><xrayv19@yahoo.com><dnelson@allantgroup.com><dnelson@allantgroup.com><jrisom@gmail.com><tobi@casino.uni-stuttgart.de><nvass@teledomenet.gr><lists-fbsd@shadypond.com><fbsd.questions@rachie.is-a-geek.net><stapleton.41@gmail.com><fbsd.questions@rachie.is-a-geek.net><peter@boosten.org><josepha48@yahoo.com><freebsd-questions@freebsd.org><fbsd.questions@rachie.is-a-geek.net>> > It seems that the dhcpd server is replying to the subnet and not the<br>> > broadcast net. So the reply that should be sent to 255.255.255.255:68 is<br>> > sent to 192.168.0.255:68. Then, because the client has no IP address or<br>> > has defaulted it to a 169.x.x.x(MS defaults) it does not seem to be<br>> > getting the reply and thus never gets an address assigned.<br>><br>It is for DHCPDISCOVER, since there is no subnet yet:<br># dhclient -d fxp0<br>DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 4<br><br>As for the option you're looking for, man dhcpd.conf showed me this:<br> always-broadcast flag;<br></fbsd.questions@rachie.is-a-geek.net></freebsd-questions@freebsd.org></josepha48@yahoo.com></peter@boosten.org></fbsd.questions@rachie.is-a-geek.net></stapleton.41@gmail.com></fbsd.questions@rachie.is-a-geek.net></lists-fbsd@shadypond.com></nvass@teledomenet.gr></tobi@casino.uni-stuttgart.de></jrisom@gmail.com></dnelson@allantgroup.com></dnelson@allantgroup.com></xrayv19@yahoo.com></freebsd-questions@freebsd.org></josepha48@yahoo.com></peo@intersonic.se></kris@FreeBSD.org></kris@FreeBSD.org></peo@intersonic.se></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></f84c38580709010943s10045fd4v6923cd450a1f0c1b@mail.gmail.com></fbsd.questions@rachie.is-a-geek.net></tfcheng@gmail.com></fbsd.questions@rachie.is-a-geek.net></xyin@bluebottle.com></Mike.Gerdes@philotech.de></youshi10@u.washington.edu></fbsd.questions@rachie.is-a-geek.net></listreader@lazlarlyricon.com></peo@intersonic.se></kris@FreeBSD.org></kr is@FreeBSD.org></peo@intersonic.se></fbsd.questions@rachie.is-a-geek.net></xyin@bluebottle.com></freebsd-questions@freebsd.org></redchin@gmail.com></xyin@bluebottle.com></gpeel@thenetnow.com></EFC892EF4A4C0B8558045427@paul-schmehls-powerbook59.local></pauls@utdallas.edu></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></listreader@lazlarlyricon.com></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></listreader@lazlarlyricon.com></outbackdingo@gmail.com></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></f84c38580709010517l3e0759c9ue0d03c1b57da8d9b@mail.gmail.com></fbsd.questions@rachie.is-a-geek.net></tfcheng@gmail.com></gpeel@thenetnow.com></danger@FreeBSD.org></fbsd.questions@rachie.is-a-geek.net></fbsd.questions@rachie.is-a-geek.net></freebsd-questions@freebsd.org></tfcheng@gmail.c om></b.movaqar@gmail.com></blockquote><br><p>  <hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a> --0-1649509927-1188695601=:80192--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070902011321.80204.qmail>