From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9FD811381F3 for ; Tue, 10 Sep 2013 21:38:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A472FE0BA6; Tue, 10 Sep 2013 21:38:35 +0000 (UTC) Received: from mail119c7.megamailservers.com (mail119c7-2520.megamailservers.com [69.49.98.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A69BDE0B20 for ; Tue, 10 Sep 2013 21:38:34 +0000 (UTC) X-POP-User: admin.sys-concept.com Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail119c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id r8ALcW4R025121 for ; Tue, 10 Sep 2013 17:38:33 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id A88F62040B5; Tue, 10 Sep 2013 15:38:35 -0600 (MDT) Date: Tue, 10 Sep 2013 15:38:35 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] spoof mac address Message-ID: <20130910213835.GC8083@syscon7.inet> References: <20130910174716.GA8083@syscon7.inet> <522F8ACF.3@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <522F8ACF.3@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=1.1 cv=dubfjZuR2PXwMZlVv6FVdo5azx48APUyGRsvdyweRkw= c=1 sm=1 a=wom5GMh1gUkA:10 a=FHa0P5VTAxAA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=TNR3ZfeMAAAA:8 a=pGLkceISAAAA:8 a=ig92nf2hKjZz9-b8pl8A:9 a=wPNLvfGTeEIA:10 a=Ngogve6LyiYA:10 a=MSl-tDqOz04A:10 a=1z7__cJeOF4E2gZv:21 a=wqdxpn0chrJPP7qW:21 a=C3ZDv51cNVt4vJz/79I2xQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020203.522F9159.02D7,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Archives-Salt: c6bb7cc2-9dad-499b-b7b3-f5eb28486d3f X-Archives-Hash: d9edad8b26b511ff2483785c21b3762e My connection to my provider is kind of slow, so they suggested I connect one of the box directly to the cable modem. Since I have a dynamic IP (that hardly ever changes), I'll disconnect the router and configure one of my box to the same mac address has router eth0 has and connect it to the mode. This should ensure that my IP will not change. All I want to do is to run a test speed from: testmy.net -- Joseph On 09/10/13 23:10, Alan McKinnon wrote: >On 10/09/2013 19:47, Joseph wrote: >> Does anybody know how to spoof mac address on Gentoo? >> >> I want to connect a machine directly to the modem but if I do so my >> static IP will change; so to retain static IP I want to spoof mac >> address on one of my machine to the same MAC as on my router. >> > > >If you have a host and a router with the same MAC address, how do you >suppose ethernet will continue to work? > >Instead, rather do it right - your modem has a dhcp server. Configure it >to supply a specific address to your host's MAC address. Or, just set >the address statically in /etc/conf.d/net and don't use dhcp. > >Or, do you actually want to bridge the modem and do pppoe on the host >instead of by the modem? > >in /etc/conf.c/net: > >mac_key_001122334455="s:foobar" > >documented in /usr/share/doc/netifrc*/net.example.bz2 > >If you use a different network manager, consult that packages own docs >on how to change mac addresses. > > > >-- >Alan McKinnon >alan.mckinnon@gmail.com