FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 10-07-2010, 11:50 AM
Default (Solved) Setting up "dhclient" to get a fallback configuration

On Wed, 06 Oct 2010 14:10:42 +0000, Camaleón wrote:

> I'm trying to setup a fallback configuration for "eth0" device when no
> DHCP server is available in the local network. But I can't :-)


This bug is (still!) valid. I'll reopen, time permitting so it gets fixed
for the current package ("isc-dhcp-client"):

must set expire date on static leases in dhclient.conf

One has to define valid (in future) values for "renew, rebind,
expire" fields in the "lease" stanza:

lease {
interface "eth0";
option subnet-mask;
option routers;
option domain-name-servers;
renew 2 2015/1/12 00:00:01;
rebind 2 2015/1/12 00:00:01;
expire 2 2015/1/12 00:00:01;

That way works like a charm.



To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.">http://lists.debian.org/pan.2010.

Thread Tools

All times are GMT. The time now is 10:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org