Re: dhcpd doesn't sent route information

2010-04-24 Thread Beat Siegenthaler
On 23.04.10 18:02, Onur Aslan wrote: $ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; 8.8.8.4 is not a valid Nameserver. You want 8.8.4.4... ___ freebsd-questions@freebsd.org mailing list

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
On 23-4-2010 17:22, Chuck Swiger wrote: On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook.

Re: dhcpd doesn't sent route information

2010-04-24 Thread Erik Norgaard
On 23/04/10 15:14, Onur Aslan wrote: Do you have any idea? Still haven't solved the problem? I just looked over your dhclient.conf: #prepend domain-name-servers 127.0.0.1; prepend domain-name-servers 8.8.8.8, 8.8.8.4; #request subnet-mask, broadcast-address, time-offset, routers, #

dhcpd doesn't sent route information

2010-04-24 Thread Onur Aslan
Erik Norgaard wrote: Seems like you don't request router information. After I changed request in dhclient.conf to: request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, netbios-name-servers, netbios-scope, interface-mtu,

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing

Re: dhcpd doesn't sent route information

2010-04-24 Thread Erik Norgaard
On 24/04/10 17:41, Peter Boosten wrote: option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? No, the dhcpd server resolves the address and sends the ip to the clients.

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
On 24 apr 2010, at 23:07, Erik Norgaard wrote: On 24/04/10 17:41, Peter Boosten wrote: option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? No, the dhcpd server

dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
Hi. I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook. My dhcpd.conf file: option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask

Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook. If the machine you are testing from is

Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
I tried, but It doesn't helped. On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote: On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I

Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: I tried, but It doesn't helped. Please show us the revised dhcpd.conf. Also, did you -HUP your named? Kevin Kinsey A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying

[Fwd: Re: dhcpd doesn't sent route information]

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: I tried, but It doesn't helped. Please show us the revised dhcpd.conf. Also, did you -HUP your named? Sorry! That should be dhcpd. $kill -HUP `pgrep dhcpd` should do the trick. KDK ___ freebsd-questions@freebsd.org mailing

Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
$ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; option routers 192.168.1.1; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.4 192.168.1.24; }

Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
Hi-- On Apr 23, 2010, at 9:02 AM, Onur Aslan wrote: After I added dhcpd_flags=-HUP to my rc.conf It's giving an error message when I starting dhcpd: Remove that; I believe what Kevin meant was to do this: kill -HUP `cat /var/run/dhcpd.pid` ...to restart dhcpd. Running dhcpd -t will let

Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: $ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; option routers 192.168.1.1; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.4