On 09/10/13 21:11, Albert wrote:
Al 10/09/2013 19:47, En/na Joseph ha escrit:
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.

ifconfig yournetdevice hw ether 00:00:de:ad:be:ef


Yes, that is what I did:

# ifconfig net0 down
# ifconfig net0 hw ether 00:21:5A:9B:00:F2
# ifconfig net0 up

Now how to reset to the original mac address, without restarting.
--
Joseph

Reply via email to