Re: how to change isc-dhcp3-server replies? (was: isc-dhcp3-server issues with windows 2000 client)
I'd say thanks for the help, but telling someone that 'it works for me' is not helpful. I upgraded to 6.2p7 from 6.2p6 and this problem started happening, but only with dhcpd. In fact I can run the old dhcpd fine, but the new binary deos not run fine. The old binary does a dhcp reply from [dhcpd ip address] to 255.255.255.255. The new binary does a dhcp reply from [dhcpd ip address] to 192.168.0.255. Windows is not getting the reply from the new binary. This is not the correct behavior. In fact there is a bug in OLD 2.2 linux kernels that says that the kernel routing is messed up (see isc-dhcp3 web site docs). Joe Peter Boosten <[EMAIL PROTECTED]> wrote: Joe wrote: > Hello, after running tcpdump for a while I discoverd what is going on with my > dhcpd server and why some clients are not able to get an IP address from it, > in particular windows clients. It turns out it is not just win2k but any > windows. > > 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. I have no problems running dhcp3 with windows clients at all... As far as I can tell the broadcast address of a subnet *never* is 255.255.255.255. Peter -- http://www.boosten.org - Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to change isc-dhcp3-server replies? (was: isc-dhcp3-server issues with windows 2000 client)
On Saturday 01 September 2007 23:30:27 Peter Boosten wrote: > Joe wrote: > > Hello, after running tcpdump for a while I discoverd what is going on > > with my dhcpd server and why some clients are not able to get an IP > > address from it, in particular windows clients. It turns out it is not > > just win2k but any windows. > > > > 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. > > I have no problems running dhcp3 with windows clients at all... As far > as I can tell the broadcast address of a subnet *never* is 255.255.255.255. 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; The DHCP and BOOTP protocols both require DHCP and BOOTP clients to set the broadcast bit in the flags field of the BOOTP message header. Unfortunately, some DHCP and BOOTP clients do not do this, and there- fore may not receive responses from the DHCP server.The DHCP server can be made to always broadcast its responses to clients by setting this flag to 'on' for the relevant scope; relevant scopes would be inside a conditional statement, as a parameter for a class, or as a parameter for a host declaration. To avoid creating excess broadcast traffic on your network, we recommend that you restrict the use of this option to as few clients as possible. For example, the Microsoft DHCP client is known not to have this problem, as are the OpenTransport and ISC DHCP clients. Worth a shot :) -- Mel People using reply to all on lists, must think I need 2 copies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to change isc-dhcp3-server replies? (was: isc-dhcp3-server issues with windows 2000 client)
Joe wrote: > Hello, after running tcpdump for a while I discoverd what is going on with my > dhcpd server and why some clients are not able to get an IP address from it, > in particular windows clients. It turns out it is not just win2k but any > windows. > > 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. I have no problems running dhcp3 with windows clients at all... As far as I can tell the broadcast address of a subnet *never* is 255.255.255.255. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to change isc-dhcp3-server replies? (was: isc-dhcp3-server issues with windows 2000 client)
Hello, after running tcpdump for a while I discoverd what is going on with my dhcpd server and why some clients are not able to get an IP address from it, in particular windows clients. It turns out it is not just win2k but any windows. 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. Anyone know how to force dhcpd to send its broadcast replies to the 'correct' broadcast address? Thanks, Joe - Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: isc-dhcp3-server issues with windows 2000 client
Hi, > I built it by doing: > cd /usr/ports/net/isc-dhcp3-server && make install > > the version = isc-dhcp3-server-3.0.5_2 for both, could their be code changes > if the _2 did not change? There should not be any change BUT... I imagine the aplied patches could be different depending on FreeBSD version? The port maintener would know about that. > it is started via supplied shell script isc-dhcp3, I just renamed to > isc-dhcp3.sh > > I tried setting authoritative on and off in the dhcpd.conf file and that had > no effect. > > It is almost like dhcpd does not even recognize the packets coming > from win2k, but WinXP and FreeBSD clients seem okay. I haven't > tried other clients yet (Linux / Mac) but do have them. Have you tried to examine the W2K packets with something like wireshark (/usr/ports/net, formerly known as etherreal), if the w2k packets are illy formed, it should tell you. Silly question but, you are sure that there is no rogue DHCP server floating around, and that it is not a problem with wyour w2k client? > It is NOT running in a jail. > > The weird thing is that if I set IPAutoConfiguration in the win2k > registry to 0 ( turning it off ), win2k get the gateway and dhcp > server configured, but not it's IP address. I am using 6.2p7 and isc-dhcpd.3.0.5_2 without any probelm. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: isc-dhcp3-server issues with windows 2000 client
ok, to answer your questions: I built it by doing: cd /usr/ports/net/isc-dhcp3-server && make install the version = isc-dhcp3-server-3.0.5_2 for both, could their be code changes if the _2 did not change? it is started via supplied shell script isc-dhcp3, I just renamed to isc-dhcp3.sh I tried setting authoritative on and off in the dhcpd.conf file and that had no effect. It is almost like dhcpd does not even recognize the packets coming from win2k, but WinXP and FreeBSD clients seem okay. I haven't tried other clients yet (Linux / Mac) but do have them. It is NOT running in a jail. The weird thing is that if I set IPAutoConfiguration in the win2k registry to 0 ( turning it off ), win2k get the gateway and dhcp server configured, but not it's IP address. Joe Olivier Nicole <[EMAIL PROTECTED]> wrote: Hi, >I have a backup of the old system and am using that to trouble >shoot. I have narrowed it down to the dhcpd binary. If I put in >the newer binary built with p7 it does not work with windows >2000. If I put in the old binary it works fine. First question would be: how did you build isc-dhcp? pkg_info |grep dhcp Second, is it running? How do you start it? Third question: was are the version number of old and new dhcp? You may be facing some change in dhcpd configuration file. Best regards, Olivier - Need a vacation? Get great deals to amazing places on Yahoo! Travel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: isc-dhcp3-server issues with windows 2000 client
Hi, >I have a backup of the old system and am using that to trouble >shoot. I have narrowed it down to the dhcpd binary. If I put in >the newer binary built with p7 it does not work with windows >2000. If I put in the old binary it works fine. First question would be: how did you build isc-dhcp? pkg_info |grep dhcp Second, is it running? How do you start it? Third question: was are the version number of old and new dhcp? You may be facing some change in dhcpd configuration file. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
isc-dhcp3-server issues with windows 2000 client
Hello, I tried posting under a similar topic, but not sure if it went through. I'm new on this list, but not a total newbie. I have upgraded a system from p6 to p7. Everything seems to be working on wtih the upgraded system except for dhcp. I have a backup of the old system and am using that to trouble shoot. I have narrowed it down to the dhcpd binary. If I put in the newer binary built with p7 it does not work with windows 2000. If I put in the old binary it works fine. Old Binary ( tcpdump ): IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:19:d1:df:f3:07, length: 317 IP sss.sss.sss.sss.67 > ppp.ppp.ppp.ppp.68: BOOTP/DHCP, Reply, length: 300 New Binary ( tcpdump ): [ windows 2000 ] : IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:19:d1:df:f3:07, length: 300 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, length: 300 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, length: 300 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, length: 300 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, length: 300 No reply is ever sent out [ win xp - renewal ] IP xxx.xxx.xxx.yyy.68 > xxx.xxx.xxx.zzz.67: BOOTP/DHCP, Request from 00:11:d8:13:0e:69 , length: 302 IP xxx.xxx.xxx.zzz.67 > xxx.xxx.xxx.yyy.68: BOOTP/DHCP, Reply, length: 300 FreeBSD clients seem to be able to obtain a new address with no problem. My question is how do I trouble shoot the two binaries? What tools can I use? How do I get dhcpd to actually put out debugging info to the syslogs or on the command line? I've tried the -d and got nothing. any help is much appreciated. Thanks, Joe - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: server issues
drewshen wrote: I am having a problem with my apache in freebsd. i set up two virtual hosts, one is a default, the other goes to another domain. i set up the directives: AllowOverride None Order deny,allow Deny from all AllowOverride All Order allow,deny Allow from all AllowOverride All Order allow,deny Allow from all when i try to start apache it says httpd not running, trying to start . . . and on the broswer i get an internal server error. does anyone know how i could fix this? thanks alot! Without seeing the rest of your configuration file, I may suggest you make sure your tags are within their resepective tags ... Also, check the location of your error and access log; make sure the user apache is running as can write to them, and see what they say - write back to this list with the actual error, and/or more of your configuration file. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: server issues
Can you give us the "VirtualHost" directives included in your configuration file, listening ports and the tailed couple "access-log" / "error-log" ? ;) drewshen a écrit : I am having a problem with my apache in freebsd. i set up two virtual hosts, one is a default, the other goes to another domain. i set up the directives: AllowOverride None Order deny,allow Deny from all AllowOverride All Order allow,deny Allow from all AllowOverride All Order allow,deny Allow from all when i try to start apache it says httpd not running, trying to start . . . and on the broswer i get an internal server error. does anyone know how i could fix this? thanks alot! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: server issues
At 12:00 PM 2/21/2007, drewshen wrote: I am having a problem with my apache in freebsd. i set up two virtual hosts, <..snip..> when i try to start apache it says httpd not running, trying to start . . . and on the broswer i get an internal server error. does anyone know how i could fix this? thanks alot! What do the apache error logs say? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
server issues
I am having a problem with my apache in freebsd. i set up two virtual hosts, one is a default, the other goes to another domain. i set up the directives: AllowOverride None Order deny,allow Deny from all AllowOverride All Order allow,deny Allow from all AllowOverride All Order allow,deny Allow from all when i try to start apache it says httpd not running, trying to start . . . and on the broswer i get an internal server error. does anyone know how i could fix this? thanks alot! -- View this message in context: http://www.nabble.com/server-issues-tf3267946.html#a9084688 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"