Difference between revisions of "MAC address spoofing"

From ArchWiki
Jump to: navigation, search
m (stub)
(use i18n template)
Line 1: Line 1:
{{stub}}
 
 
[[Category:Networking (English)]]
 
[[Category:Networking (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
{{i18n_links_start}}
+
{{i18n|MAC Address Spoofing}}
{{i18n_entry|Česky|:MAC Address Spoofing (Česky)}}
+
{{Stub}}
{{i18n_entry|English|:MAC_Address_Spoofing}}
+
{{i18n_entry|Русский|:Смена_MAC_адреса}}
+
{{i18n_links_end}}
+
 
+
 
+
  
 
It is possible (for whatever reasons) to make your network card broadcast a different MAC address. Suppose your network interface is <code>ethX</code>. Then, to retrieve your MAC address:
 
It is possible (for whatever reasons) to make your network card broadcast a different MAC address. Suppose your network interface is <code>ethX</code>. Then, to retrieve your MAC address:

Revision as of 13:43, 28 March 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:MAC address spoofing#)

It is possible (for whatever reasons) to make your network card broadcast a different MAC address. Suppose your network interface is ethX. Then, to retrieve your MAC address:

$ ifconfig ethX

The thing you want is the 6 byte number in the hexadecimal form, something like this:

HWaddr 00:1D:98:5A:D1:3A

Changing the MAC address is easy, shut down the network interface, change the MAC address and restore the interface. This can be done succinctly, as root:

# /etc/rc.d/network stop
# ifconfig ethX hw ether FF:FF:FF:FF:FF:FF
# /etc/rc.d/network start

where FF:FF:FF:FF:FF:FF is your new MAC address.