From owner-freebsd-questions Thu Jun 20 13:59:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ihemail2.firewall.lucent.com (ihemail2.lucent.com [192.11.222.163]) by hub.freebsd.org (Postfix) with ESMTP id CFAEB37B40B for ; Thu, 20 Jun 2002 13:59:38 -0700 (PDT) Received: from ih2mail.ih.lucent.com (h135-1-241-39.lucent.com [135.1.241.39]) by ihemail2.firewall.lucent.com (Switch-2.2.2/Switch-2.2.0) with ESMTP id g5KKxaZ29498; Thu, 20 Jun 2002 16:59:37 -0400 (EDT) Received: from il0015shawnlke2 by ih2mail.ih.lucent.com (8.8.8+Sun/EMS-1.5 sol2) id PAA06438; Thu, 20 Jun 2002 15:59:35 -0500 (CDT) From: "Shawn Kennedy" To: "Miroslav Pendev" Cc: "freebsd-questions" Subject: RE: DHCP/DNS question Date: Thu, 20 Jun 2002 15:59:40 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <013b01c21895$75f7e810$c801a8c0@vsivyoung> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > What is the content of /var/db/dhclient.leases ? > > > > > > I am not sure if these are the right questions, > > > but ... this is what I can help. > > > > Here is what is in my dhclient.leases file. > > I have changed some of the data for anonymity. > > I'm not too sure Corporate Secuity would be non > > to pleased to see any of these addresses on the > > net. Notice the "host-name" is not in the lease. > > > > lease { > > interface "xl0"; > > fixed-address 135.www.xxx.yyy; > > option subnet-mask 255.255.248.0; > > option routers 135.www.xxx.254; > > option dhcp-lease-time 345600; > > option time-servers 135.aaa.aaa.bbb; > > option dhcp-message-type 5; > > option dhcp-server-identifier 135.aaa.aaa.bbb; > > option domain-name-servers 135.aaa.aaa.ccc,135.aaa.aaa.bbb; > > option netbios-name-servers 135.aaa.ddd.eee,135.aaa.ddd.fff; > > option netbios-node-type 2; > > option domain-name "ih.lucent.com"; > > renew 5 2002/6/21 19:53:04; > > rebind 0 2002/6/23 15:17:22; > > expire 1 2002/6/24 03:17:22; > > } > > lease { > > interface "xl0"; > > fixed-address 135.www.xxx.yyy; > > option subnet-mask 255.255.248.0; > > option dhcp-lease-time 345600; > > option routers 135.www.xxx.254; > > option time-servers 135.aaa.aaa.bbb; > > option dhcp-message-type 5; > > option domain-name-servers 135.aaa.aaa.ccc,135.aaa.aaa.bbb; > > option dhcp-server-identifier 135.1.1.110; > > option netbios-name-servers 135.aaa.ddd.eee,135.aaa.ddd.fff; > > option domain-name "ih.lucent.com"; > > option netbios-node-type 2; > > renew 6 2002/6/22 03:34:39; > > rebind 0 2002/6/23 15:35:41; > > expire 1 2002/6/24 03:35:41; > > Hum, seems to be OK... > > In /etc/rc.conf you probably have something like this: > > ifconfig_xl0="DHCP" > > Can you try to put this : > > send host-name "your-host-name" > > into /etc/dhclient.conf > > Hope that's what you need! Hi Miro, A good shot, but it didn't seem to do anything usefull. dhclient.leases did not change (no nost-name in the file). The DNS lookup still shows an invalid name. I do have ifconfig_Xl0="DHCP" in /etc/rc.conf before I started this. Do you have a dhclient_conf file that you would like me to try? Shawn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message