From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] spoof mac address
Date: Tue, 10 Sep 2013 23:10:39 +0200 [thread overview]
Message-ID: <522F8ACF.3@gmail.com> (raw)
In-Reply-To: <20130910174716.GA8083@syscon7.inet>
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
next prev parent reply other threads:[~2013-09-10 21:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 17:47 [gentoo-user] spoof mac address Joseph
2013-09-10 18:05 ` joost
2013-09-10 19:30 ` Mick
2013-09-10 18:24 ` Canek Peláez Valdés
2013-09-10 19:11 ` Albert
2013-09-10 19:38 ` Joseph
2013-09-10 21:10 ` Alan McKinnon [this message]
2013-09-10 21:38 ` Joseph
2013-09-10 21:48 ` Mick
2013-09-10 22:44 ` Joseph
2013-09-10 21:50 ` Joseph
2013-09-10 22:44 ` Alan McKinnon
2013-09-11 0:06 ` Joseph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=522F8ACF.3@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox