[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restrict dhclient to 1 interface?



On Mon, Jul 16, 2001 at 01:24:20PM -0400, Rob Ransbottom wrote:
> How do you configure dhclient to only
> seek servers on specified interfaces?
> 
> rob                     Live the dream.

Ahh, just did this last night.  In /etc/dhclient.conf: 

interface "eth0" {
   send host-name "your_hostname";
   send dhcp-client-identifier 1:your_ethernet_address;
    send dhcp-lease-time 86400;
    }

Not sure if you (or I) need the "send" lines, but now it stops dhclient
from looking on lo & eth1.

cheers
john
	  
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
-_-_-_-_-_-_-_-_-_-_-
 Using [Debian] Linux
_-_-_-_-_-_-_-_-_-_-_





Reply to: