From owner-freebsd-questions Thu Jun 20 16:27:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com (CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com [24.103.39.131]) by hub.freebsd.org (Postfix) with SMTP id E72EE37B400 for ; Thu, 20 Jun 2002 16:27:17 -0700 (PDT) Received: (qmail 528 invoked from network); 20 Jun 2002 23:27:37 -0000 Received: from unknown (HELO XXX) (192.168.1.190) by cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com with SMTP; 20 Jun 2002 23:27:37 -0000 Message-ID: <000f01c218b1$9bf46b80$be01a8c0@XXX> From: "Miroslav Pendev" To: "Shawn Kennedy" Cc: "questions" References: Subject: Re: DHCP/DNS question Date: Thu, 20 Jun 2002 19:24:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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. Hi Shawn, Thanks ;-) but not very helpfull.. > dhclient.leases did not change (no nost-name in the file). This means that the problem, probably, is not that your DHCP client is not sending your host name as you DNS guy said. I saw that you have two DNS servers: domain-name-servers and netbios-name-servers... Can you try to ping your host 'name' but from host that have only the domain-name-servers not both of them. You can enter them manually. Is your network M$ Active Directory Services enabled? > The DNS lookup still shows an invalid name. From which DNS server (the server IP) from netbios-ones or others? If everithing with the 'standart' DNS-DHCP server is OK you must be able to ping your host name from non Windows host. (You said something about Linux host - what DNS servers it is using. If you cannot ping your host name from M$ Windows hosts, you may need to add static entry as Adam said into M$ DNS Server pointing to your IP static adress. As far as I know M$ DNS servers are not exectly 'UNIX' compatible because of ADS 'extensions' or whatever they say. > > 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? > I have, but the important part is 'send host-name', the other staff is for DNS server, default router ... blah blah it is not what you need. In the worst case, you may need to create static IP and DNS entry for your host. Anyway, send to the list what is the result ... --Miro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message