From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 18:26:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6874D16A419 for ; Mon, 30 Jul 2007 18:26:08 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id EADF213C481 for ; Mon, 30 Jul 2007 18:26:07 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1IFZwU-0002P9-CI for freebsd-questions@freebsd.org; Mon, 30 Jul 2007 19:26:06 +0100 Received: from [82.37.197.203] (helo=atlantis) by asmtp-out6.blueyonder.co.uk with smtp (Exim 4.52) id 1IFZwT-0002ee-Qj for freebsd-questions@freebsd.org; Mon, 30 Jul 2007 19:26:05 +0100 Message-ID: <000a01c7d2d7$0a645e60$0600010a@atlantis> From: "Jasvinder S. Bahra" To: References: <002301c7d10a$09ee5180$0600010a@atlantis> <46ACF835.7040402@crackmonkey.us> <000601c7d238$065da370$0600010a@atlantis> <46AD2AA0.7020002@crackmonkey.us> Date: Mon, 30 Jul 2007 19:25:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: Binding dhclient to a particular network interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 18:26:08 -0000 Adam, No problem *smiles*. I'm at the same limit myself after all, and I do appreciate you stepping forward with your suggestions. Thanks again, Jazz ----- Original Message ----- From: "Adam J Richardson" To: "Jasvinder S. Bahra" Cc: Sent: Monday, July 30, 2007 1:02 AM Subject: Re: Binding dhclient to a particular network interface > > The DHCP reference for ed1 means dhclient is started (thereafter running > > continuously as a daemon), which sets ed1's IP address to that assigned by > > the cable modem. > > > > Note that dhclient generally runs as a daemon because it has to handle lease > > renewals and/or expiration. I have no issues with it running as a daemon. > > Oh, interesting. I had assumed the interface called dhclient itself if > the lease expired, or something. > > > As you can see, local address is listed as "*:68", which means its listening > > on port 68 on all interfaces. I want to instruct dhclient to only listen on > > my cable-modem facing network card. If this were the case, issuing the > > "sockstat -l4" command would return as above, but with local address saying > > "<>:68" (where > > <> is, unsurprisingly, the IP address > > assigned to the network card by the DHCP server in the cable modem). > > Is there a dhclient.conf somewhere in your /etc? That would surely hold > the answer. Possibly editing /etc/rc.d/dhclient or /etc/netstart might > help? I'm at the edge of my FreeBSD knowledge and in danger of falling > off, so I'll stop with the suggestions now. :) > > Adam J Richardson