On 03/01/2013 09:45 AM, lux-integ wrote: > Greetings, > > when building dhclient the configure options for dhcp-4.2.5 > http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/dhcp.html > > has this line:- > --with-cli-lease-file=/var/lib/dhclient/dhclient.leases > > if I want to have my lease file labelled as (for example ) > ~/dhclient.leases.eth0 > ~/dhclient.leases.eth1 > depening on the interface > > how should the configure options be set? Would (for example ) > --with-cli-lease-file=/var/lib/dhclient/dhclient.leases.eth%N > > work > > Advice would be appreciated > > sincerely > luxInteg >
Leases are already labeled if you use ifup/ifdown. That's the default setting (ie, if you run dhclient whatever *manually*). You can always use -lf switch at runtime in order to change the lease file. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
