Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] spoof mac address
Date: Tue, 10 Sep 2013 19:39:03
Message-Id: 20130910193854.GB8083@syscon7.inet
In Reply to: Re: [gentoo-user] spoof mac address by Albert
1 On 09/10/13 21:11, Albert wrote:
2 >Al 10/09/2013 19:47, En/na Joseph ha escrit:
3 >> Does anybody know how to spoof mac address on Gentoo?
4 >>
5 >> I want to connect a machine directly to the modem but if I do so my
6 >> static IP will change; so to retain static IP I want to spoof mac
7 >> address on one of my machine to the same MAC as on my router.
8 >>
9 >ifconfig yournetdevice hw ether 00:00:de:ad:be:ef
10 >
11
12 Yes, that is what I did:
13
14 # ifconfig net0 down
15 # ifconfig net0 hw ether 00:21:5A:9B:00:F2
16 # ifconfig net0 up
17
18 Now how to reset to the original mac address, without restarting.
19
20 --
21 Joseph