From owner-freebsd-net@FreeBSD.ORG Fri Oct 10 09:00:12 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 1787916A4B3 for ; Fri, 10 Oct 2003 09:00:12 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F07D143F93 for ; Fri, 10 Oct 2003 09:00:10 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 1C6651FF91E for ; Fri, 10 Oct 2003 18:00:09 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id E5A571FF91D; Fri, 10 Oct 2003 18:00:07 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 8BF04153F1; Fri, 10 Oct 2003 15:53:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 820431538C for ; Fri, 10 Oct 2003 15:53:44 +0000 (UTC) Date: Fri, 10 Oct 2003 15:53:44 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 Subject: ng_ether, multiple MACs ? 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, 10 Oct 2003 16:00:12 -0000 Hi, from what I can see I can stop ng_ether from always using the MAC address of the NIC by setting NGM_ETHER_SET_AUTOSRC = 0. When I would use NGM_ETHER_SET_ENADDR I would simply change the MAC as with ifconfig link . What I want to do is to have multiple MACs on one NIC. To be more clear: what I actually would like to have is one (locally administered) MAC per ng_pppoe session. The problem is that I cannot find the place where the smac would be set if autoSrcAddr == 0 in ng_ether. Thanks for any hints. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/