Date: Thu, 20 Jun 2002 15:59:40 -0500 From: "Shawn Kennedy" <shawnlkennedy@lucent.com> To: "Miroslav Pendev" <shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com> Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: RE: DHCP/DNS question Message-ID: <NEBBLNBDCLDILGOPJLGIGEPECIAA.shawnlkennedy@lucent.com> In-Reply-To: <013b01c21895$75f7e810$c801a8c0@vsivyoung>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBLNBDCLDILGOPJLGIGEPECIAA.shawnlkennedy>