From owner-freebsd-questions Tue Dec 3 2: 5:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0628137B401 for ; Tue, 3 Dec 2002 02:05:47 -0800 (PST) Received: from smtp.hispeed.ch (isp247n.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEA6D43EC5 for ; Tue, 3 Dec 2002 02:05:45 -0800 (PST) (envelope-from locus@hispeed.ch) Received: from rock.stable.ch (dclient217-162-34-199.hispeed.ch [217.162.34.199]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id gB3A5hx6028614 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 3 Dec 2002 11:05:44 +0100 Received: from locus by rock.stable.ch with local (Exim 3.33 #1) id 18J9vz-0005rX-00 for FreeBSD-questions@FreeBSD.org; Tue, 03 Dec 2002 11:05:43 +0100 Date: Tue, 3 Dec 2002 11:05:43 +0100 From: Thomas Spreng To: FreeBSD Questions Subject: dhclient & dhcpd bind to address Message-ID: <20021203100543.GA21943@rock.stable.ch> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, i'm just trying to set up some jails on my master machine. According to the man page, you have to change daemons from listening to all local addresses. I have done this for every tcp port that is listed within the netstat command. But i'm having problems with some daemons that are listening for udp packets on all interfaces. netstat -na: udp4 0 0 *.68 *.* udp4 0 0 *.67 *.* these ports are used by dhcpd (isc-dhcpd) and dhclient. Has anyone ever managed to make those two programs only listen on a specific interface? PS: both daemons are run with an interface name as a command line argument that should make them only listen on that one: /usr/local/sbin/dhcpd fxp0 /sbin/dhclient fxp1 Greets, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message