From owner-freebsd-net@FreeBSD.ORG Fri Apr 18 10:51:04 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B34C37B401 for ; Fri, 18 Apr 2003 10:51:04 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8B8F43FBF for ; Fri, 18 Apr 2003 10:51:03 -0700 (PDT) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h3IHp1Vh004854 for ; Fri, 18 Apr 2003 19:51:02 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Fri, 18 Apr 2003 19:51:01 +0200 (CEST) From: Martin Blapp To: freebsd-net@freebsd.org Message-ID: <20030418193305.S6156@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Implementing SO_BINDTODEVICE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 17:51:04 -0000 Hi all, How difficult would it be to implement SO_BINDTODEVICE on FreeBSD ? I need the to make is possible to run more than one instance of dhclient on one host with more than one NIC. We would need this to support removable devices properly. There is a tool called omshell which should be able to change variables so the interface is added to the lists. Unfortunatly the documentation is bad and I only found hooks to dhcpd. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------