From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 15:10:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C2D106566B for ; Fri, 23 Apr 2010 15:10:32 +0000 (UTC) (envelope-from onuraslan@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 870BB8FC13 for ; Fri, 23 Apr 2010 15:10:31 +0000 (UTC) Received: by ewy24 with SMTP id 24so2895829ewy.33 for ; Fri, 23 Apr 2010 08:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=5scwEraxEAqiESL15UI3jdNFF8CTFfnnTjy5XpjRr8M=; b=QeA/opzf9pp321r9dm59yKxvMQIHvcKjHyzZhHkXAq1ySb48JN7OugnGY5PB/u7HZ+ Foh6FBtC50dnghg0pcgXcqHa0FgxA6vBzdY/1xv55pXQ65vj5iA29Srcp1sOOxFIbZUS C/CI0SMXYRxlgMC444qxPk9dwFXoxEY/S3Rdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=uHWhbceRFwQjZpNI2LDdFP5K/7Nr5MpzXQ6SY7JvLlqXmSHvZjpH67Ra+lnvlVDzb0 qxshfADnjTV/IGrozfiShI6NQ5+FpX3Gr1pVIlzPM4u3/Mg8WOyQ/Zk7bi+wmqqD33zh wyc5CnonTxlA88PznUpEQ6Du8RmE4HmEr8DDw= Received: by 10.213.100.20 with SMTP id w20mr468287ebn.49.1272035426415; Fri, 23 Apr 2010 08:10:26 -0700 (PDT) Received: from localhost ([95.15.83.91]) by mx.google.com with ESMTPS id 15sm384304ewy.4.2010.04.23.08.10.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Apr 2010 08:10:25 -0700 (PDT) Received: from onur by localhost with local (Exim 4.71) (envelope-from ) id 1O5Ihm-0000ty-73 for freebsd-questions@freebsd.org; Fri, 23 Apr 2010 16:14:02 +0300 Date: Fri, 23 Apr 2010 16:14:02 +0300 From: Onur Aslan To: freebsd-questions@freebsd.org Message-ID: <20100423131402.GA3428@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: dhcpd doesn't sent route information X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 15:10:32 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.4 192.168.1.24; option routers 192.168.1.1; } host onur-pc { hardware ethernet 00:0e:2e:ff:6b:e7; fixed-address 192.168.1.2; } host onur-eee { hardware ethernet 00:22:43:45:a1:2d; fixed-address 192.168.1.3; } I attached client machines dhclient.conf file (client is Debian GNU/Linux testing/squeeze). Do you have any idea? --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dhclient.conf" # Configuration file for /sbin/dhclient, which is included in Debian's # dhcp3-client package. # # This is a sample configuration file for dhclient. See dhclient.conf's # man page for more information about the syntax of this file # and a more comprehensive list of the parameters understood by # dhclient. # # Normally, if the DHCP server provides reasonable information and does # not leave anything out (like the domain name, for example), then # few changes must be made to this file, if any. # option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; #send host-name "andare.fugue.com"; #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; #send dhcp-lease-time 3600; #supersede domain-name "fugue.com home.vix.com"; #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, # domain-name, domain-name-servers, domain-search, host-name, # netbios-name-servers, netbios-scope, interface-mtu, # rfc3442-classless-static-routes, ntp-servers; request subnet-mask, broadcast-address; #require subnet-mask, domain-name-servers; #timeout 60; #retry 60; #reboot 10; #select-timeout 5; #initial-interval 2; #script "/etc/dhcp3/dhclient-script"; #media "-link0 -link1 -link2", "link0 link1"; #reject 192.33.137.209; #alias { # interface "eth0"; # fixed-address 192.5.5.213; # option subnet-mask 255.255.255.255; #} #lease { # interface "eth0"; # fixed-address 192.33.137.200; # medium "link0 link1"; # option host-name "andare.swiftmedia.com"; # option subnet-mask 255.255.255.0; # option broadcast-address 192.33.137.255; # option routers 192.33.137.250; # option domain-name-servers 127.0.0.1; # renew 2 2000/1/12 00:00:01; # rebind 2 2000/1/12 00:00:01; # expire 2 2000/1/12 00:00:01; #} --fdj2RfSjLxBAspz7--