DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 25th May 2011
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Thanked 0 Times in 0 Posts
Default Renegotiate a DHCP lease (RENEW)

Is it just me? Here is a something that is suppose to fall off the BSD apple tree like dust in the wind. I never ask single question before I do many hours - days of searching, researching and testing. I read a lot of interesting things that BSD can do and I gather all the commands that I can find that claim to work, but the minute I go to try them, they don't work or they stop working since the last update, TODAY.

I'm simply trying to re-new the DHCP lease that is generated by the DSL connection (the INTERNET side). From what I gather, this will help you keep the same I.P. address (static IP). Once you have dhclient.leases.em0 in your < /var/db >, I read that with BSD you do not have to wait for the lease to expire in order to re-new it. I have this this file::::


I tried:
Code:
# dhclient -r em0		# I get:  dhclient: illegal option - - r
I tried:
Code:
# /sbin/dhclient -r em0            # I get:  dhclient: illegal option - - r
Every link I found say this is the way and I can't find anything else that say anything other and I found not another word about it after the year 2005 other than the same code posted above, if that much. I could be using the wrong www.google.com. Is there another?

I read dhclient.conf(5), dhcpd.conf(5), dhcpd.leases(5), dhclient(8) and dhcpd(8) trying to get a clue but I found nothing but the fact that the -r option is not included, non did I understand what this option has been replaced with.

Anyway, there got to be a few ways that I have not found or else there would be no INTERNET. Could you guys tell post a few of the many ways to accomplish this using FreeBSD 8.2 or 9.0 that actually been tested and work on your machine?


Thanks in advance

http://www.moundalexis.com/archives/000054.php

I have 17 more links but they all say the same thing and nothing more. Just ask and I'll post them.
....
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
isc dhcp server queshaw OpenBSD Packages and Ports 1 8th February 2011 11:09 AM
W2K DHCP Issue DrJ Other OS 4 25th May 2009 07:19 PM
obtain 2 ips via dhcp dextro FreeBSD General 2 6th February 2009 04:56 AM
Obtaining multiple IPs from ISP via DHCP dextro General software and network 15 9th January 2009 02:36 AM
DHCP Server WeakSauceIII OpenBSD General 1 25th September 2008 03:34 AM


All times are GMT. The time now is 08:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick