From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 12:33:37 2010 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 06F7C106566B for ; Mon, 4 Oct 2010 12:33:37 +0000 (UTC) (envelope-from sergeant.m.g.bob@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id AF9008FC15 for ; Mon, 4 Oct 2010 12:33:36 +0000 (UTC) Received: by qyk8 with SMTP id 8so3102905qyk.13 for ; Mon, 04 Oct 2010 05:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=QxbiifOmFWh55h6Xyi4Nn4wunEj2v4Hzspe782apcfY=; b=iIAQJJ70yf1OZNXDR8CuwKlZI8IjxbnKA82FRfTEtq3xLeFIEmF7QhUHp4npv6Vh/s KPVsFNB+pffP9bFWznP3aNksbiy1dOMVwK3kwhp2z2e2o0//kQJYq5BMG9eSvqgV2F7M OZt63wDHcEWIhJ0sXPHRb332NVntHztCaiFmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=W2Vl8i0Jp7I0J3ecjTniod8fk0kzL6UcO03R5olNc4Jl9gQFWRCm0Hbox8p207fORX 0pCRoAj9KJjUliwjgiG9L9o6JVcq4Yq4dznagZxaL2XyR6wH1OgBtCO52tQJQsVk0NML Xq0GxlaS72Fe6d7ilDRYQ7cxj84QJwohECCUE= MIME-Version: 1.0 Received: by 10.229.71.69 with SMTP id g5mr6699843qcj.176.1286194175818; Mon, 04 Oct 2010 05:09:35 -0700 (PDT) Received: by 10.229.248.130 with HTTP; Mon, 4 Oct 2010 05:09:35 -0700 (PDT) Date: Mon, 4 Oct 2010 15:39:35 +0330 Message-ID: From: "Sergeant M.G.Bob" To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Mon, 04 Oct 2010 12:44:03 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: change MAC address for PPPoE connection 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, 04 Oct 2010 12:33:37 -0000 Hello I'm using PPPoE link to connect to the INTERNET. my problem is that I have to change my MAC address for my night time link. I do that using ifconfig command before connecting the night link: *killall ppp ifconfig cdce0 ether 2a:00:00:00:00:00 ppp -ddial adslnight* cdce0 is the interface connected to the ADSL modem. command will change the MAC address on the interface but PPP still uses the old MAC (I can see it over tcpdump). I think it's some cache or something that keeps the old MAC. please help me, I couldn't find anything related on-line. my ppp.conf: *adsl: set log Phase tun command set redial 99 3 set device PPPoE:cdce0 set authname UserName set authkey Password set dial set login add default HISADDR adslnight: set log Phase tun command set redial 99 3 set device PPPoE:cdce0 set authname NightUserName set authkey NightPassword set dial set login add default HISADDR*