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 21:51:01
Message-Id: 20130910215051.GD8083@syscon7.inet
In Reply to: Re: [gentoo-user] spoof mac address by Alan McKinnon
1 I forgot to mention.
2 My router is an old 486-box running freesco. So I'm trying to find out if the router is the problem with slow connection.
3 as my download speed on cable is only 3.7Mbps and it should be about 15Mbps up to 25Mbps
4 upload speed is 1.5Mbps
5
6 --
7 Joseph
8
9 On 09/10/13 23:10, Alan McKinnon wrote:
10 >On 10/09/2013 19:47, Joseph wrote:
11 >> Does anybody know how to spoof mac address on Gentoo?
12 >>
13 >> I want to connect a machine directly to the modem but if I do so my
14 >> static IP will change; so to retain static IP I want to spoof mac
15 >> address on one of my machine to the same MAC as on my router.
16 >>
17 >
18 >
19 >If you have a host and a router with the same MAC address, how do you
20 >suppose ethernet will continue to work?
21 >
22 >Instead, rather do it right - your modem has a dhcp server. Configure it
23 >to supply a specific address to your host's MAC address. Or, just set
24 >the address statically in /etc/conf.d/net and don't use dhcp.
25 >
26 >Or, do you actually want to bridge the modem and do pppoe on the host
27 >instead of by the modem?
28 >
29 >in /etc/conf.c/net:
30 >
31 >mac_key_001122334455="s:foobar"
32 >
33 >documented in /usr/share/doc/netifrc*/net.example.bz2
34 >
35 >If you use a different network manager, consult that packages own docs
36 >on how to change mac addresses.
37 >
38 >
39 >
40 >--
41 >Alan McKinnon
42 >alan.mckinnon@×××××.com
43 >
44 >
45
46 --
47 Joseph

Replies

Subject Author
Re: [gentoo-user] spoof mac address Alan McKinnon <alan.mckinnon@×××××.com>