すべてのNIC (ネットワークインターフェイスカード)( (Network Interface Card))には、一意のMACアドレス(メディアアクセス制御(Media Access Control))があります。これは、イーサネット(Ethernet)カードやWiFiカードを含むすべてのタイプのネットワークカードに適用されます。MACアドレス(MAC Address)は、ネットワーク上のホストを一意に識別するために使用される6バイトの番号または12桁の16進数です。
MACアドレス(MAC address)の例は1F-2E-3D-4C-5B-6Aであり、 OSIモデルの(OSI model)レイヤー2(Layer 2)ネットワークプロトコルに分類されます。今日のネットワークでは、ARPまたはアドレス解決プロトコルが(Address Resolution Protocol)MACアドレス(MAC address)をIPアドレス(IP address)などのレイヤー3(Layer 3)プロトコルアドレス(protocol address)に変換します。MACアドレスは、(MAC address)物理アドレス(Physical Address)と呼ばれることもあります。あなたがそれを知らないならばあなたのMACアドレスを見つける方法について(how to find your MAC address)の私の投稿を読んでください。

すべてのMACアドレスは(MAC)ネットワークカード(network card)にハードコードされており、変更することはできません。ただし、いくつかの簡単なトリックを使用して、オペレーティングシステム自体(operating system)のMACアドレスを変更またはスプーフィングすることができます。(change or spoof the MAC address)
では、なぜMACアドレス(MAC address)を変更したいのでしょうか。これには多くの理由がありますが、主に、モデム、ルーター、またはファイアウォール(router or firewall)に設定されているある種のMACアドレス(MAC address)フィルターをバイパスすることに関連しています。MACアドレス(MAC Address)を変更すると、無制限のMACアドレス(MAC Address)をエミュレートするか、すでに許可されているMACアドレス(MAC address)をスプーフィングすることで、特定のネットワーク制限を回避できます。
たとえば、WiFiネットワーク(WiFi network)では、許可されたコンピューターのみがネットワークに接続でき、 (network and filters)MACアドレス(MAC address)に基づいてコンピューターが除外される場合があります。正当なMACアドレス(MAC address)を盗聴できる場合は、MACアドレスをスプーフィングして、WiFiネットワークに(WiFi network)アクセスでき(MAC address and gain access)ます。
もう1つの例は、特定の数のコンピューターのみが自宅からインターネットに接続できるようにする(Internet)ISPがある場合です。接続する必要のあるコンピューターがさらにある場合は、許可されたコンピューターのMACアドレス(MAC address)をスプーフィングして、別のコンピューターから接続できます。(computer and connect)
WindowsのMACアドレスを変更する
以下の手順に従って、WindowsのネットワークカードのMACアドレスを非常に簡単に(Windows)変更(network card)でき(MAC address)ます 。
手順1(Step 1):[スタート](Start)、 [コントロールパネル(Control Panel)]、[ネットワーク接続]の順にクリックし、 MACアドレス(MAC address)を変更するネットワーク接続(network connection)を(Network Connections)右クリックして、[プロパティ(Properties)]を選択します。通常、ローカルエリア接続(Local Area Connection)またはワイヤレスネットワーク接続(Wireless Network Connection)のいずれかになります。

Windows Vista、Windows 7以降を使用している場合は、 [コントロールパネル]、[(Control Panel,)ネットワークとインターネット(Network and Internet,)] 、 [ネットワークと共有センター]の順に移動し、 (Network and Sharing Center,)[ネットワーク接続の管理(Manage Network Connections )]または[アダプター設定の変更( Change adapter settings)]をクリック する必要があります。

次に、アダプタを右クリックして、[プロパティ(Properties)]を選択します。
手順2(Step 2): [全般(General)]または[ネットワーク(Networking)]タブで、[構成(Configure)]ボタンをクリックします。

ステップ3(Step 3):[詳細設定(Advanced)]タブをクリックし、[ローカル管理アドレス(Locally Administered Address)]プロパティまたは[ネットワークアドレス(Network Address)]プロパティをクリックします。

デフォルトでは、「存在しない」(Not Present)値が選択されています。先に進み、[値](Value) ラジオボタンを(radio button and enter)クリックして、新しいMACアドレス(MAC address)を入力します。MACアドレス(MAC address)は、6組の数字と文字の組み合わせ、つまり40-A2-D9-82-9F-F2です。ダッシュなしでMACアドレス(MAC address)を入力する必要があります。

コマンドプロンプトに移動し、IPCONFIG / ALLと入力(command prompt and type)し てIPCONFIG /ALLMACアドレス(MAC address)が変更されたことを確認します。変更を有効にするには、先に進んでコンピューターを再起動します。
これは、Windowsで(Windows)MACアドレス(MAC address)を変更する最も簡単な方法です。レジストリを介してこれを行うこともできますが、それははるかに技術的であり、おそらくほとんどの人には必要ありません。
OSXMACアドレスを変更する
OS XでのMACアドレス(MAC address)の変更は、 Windowsの場合ほど簡単ではありません。まず、実際にMACアドレスを変更するには、(MAC address)ターミナル( (Terminal)Windowsのコマンドプロンプトと同様)を使用する必要があります。
次に、設定を変更する前に、アダプターの技術名を手動で把握する必要があります。以下のすべてを段階的に説明し(explain everything)ますが、少し複雑になることもあります。
まず、 Macの現在の(Mac)MACアドレス(MAC address)を調べてみましょう。これは、システム(System)環境設定(Preferences)またはターミナル(Terminal)の2つの方法のいずれかで実行できます。[システム環境設定]を開き、[(System Preferences)ネットワーク(Network)]をクリックしてから、[詳細(Advanced)設定]ボタンをクリックし ます。左側のリストボックスで、最初に適切なインターフェイス(WiFi、イーサネットなど)を選択して(Ethernet)ください。(Make)

[ハードウェア(Hardware)]タブをクリックすると、最初の行がMACアドレス(MAC Address)であることがわかります。[構成(Configure)]ドロップダウンから[手動(Manually)]を選択するだけでよいと思いましたが、 MACアドレス(MAC address)を編集することはできません。

ターミナル(Terminal)で、次のコマンドを入力してMACアドレス(MAC address)を取得できます。
ifconfig en0 | grep ether
これにより、en0インターフェイスのMACアドレスがわかります。(MAC address)コンピューターにあるインターフェイスの数によっては、このコマンドを数回実行して、毎回1を追加する必要がある場合があります。たとえば、存在しないインターフェイスに到達するまで、以下のコマンドを実行しました。

これで、ここにリストされているMAC(MAC)アドレスをシステム(System) 環境設定(Preferences)で見たものと簡単に比較できます。私の場合、WiFi MACアドレス(WiFi MAC address)f8:1e:df:d8:9d:8aは(f8:1e:df:d8:9d:8a)en1と一致するため、次のコマンドで使用する必要のあるインターフェイスです。
MACアドレス(MAC address)を変更する前に、ターミナル(Terminal)で便利なコマンドを使用して、必要に応じてランダムなMACアドレス(MAC address)を生成できます。
openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
新しいMACアドレス(MAC address)ができたので、以下のコマンドを使用して現在のMACアドレスを変更できます。XX(Replace XX)を使用する実際のMACアドレス(MAC address)に置き換えます。
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx
これを行うには、管理者としてログインするか、 (Administrator)OSXで(OS X)rootアカウント(root account)を有効にする必要があります。デフォルトでは、rootは無効になっていますが、可能であれば無効のままにしておくことをお勧めします。管理者としてログインするだけで、コマンドを正常に実行できるはずです。ただし、 MACアドレス(MAC address)を変更する前に、パスワードの入力を求められます。
また、 WiFiネットワーク(WiFi network)に接続している場合、アドレスは変更(t change)されません。最初にネットワークから切断してから、コマンドを実行する必要があります。驚いたことに、OSXでワイヤレスネットワークから切断することはまったく(OS X)直感(wireless network)的ではありません。Optionキーを押したまま、 WiFiアイコンをクリックして、(WiFi icon)切断オプション(disconnect option)を表示する必要があります。

したがって、現在のMACアドレスを取得し、(MAC address)ランダムな(random one)アドレスを生成し、 MACアドレス(MAC address)を更新してから、実際に変更されたことを確認するために実行したすべてのコマンドの概要を次に示します。

先に述べたように、これはWindowsでのプロセスほど簡単ではありませんが、上記のコマンドをコピーして貼り付けるだけで実行できるはずです。ご不明な点がございましたら、お気軽にコメントを投稿してください。楽しみ!
Change or Spoof a MAC Address in Windows or OS X
Evеry NIC (Network Interface Card) has a unique MAC address (Media Access Control). This applies to all types of network cards, including Ethernet cards and WiFi cards. The MAC Address is a six-byte number or 12-digit hexadecimal number that is used to uniquely identify a host on a network.
An example of a MAC address is 1F-2E-3D-4C-5B-6A and it falls into the Layer 2 networking protocol of the OSI model. In today’s networks, ARP, or Address Resolution Protocol converts a MAC address to a Layer 3 protocol address, such as an IP address. A MAC address can also be called a Physical Address. Read my post on how to find your MAC address if you don’t know it.

All MAC addresses are hard-coded into a network card and can never be changed. However, you can change or spoof the MAC address in the operating system itself using a few simple tricks.
So why would you want to change your MAC address? Well there are many reasons for this, mostly related to bypassing some kind of MAC address filter set on a modem, router or firewall. Changing the MAC Address can help you bypass certain network restrictions by emulating an unrestricted MAC Address or by spoofing a MAC address that is already authorized.
For example, a WiFi network may allow only authorized computers to connect to the network and filters out computers based on the MAC address. If you can sniff out a legitimate MAC address, you can then spoof your MAC address and gain access to the WiFi network.
Another example is if you have an ISP that allows only a certain number of computers to connect to the Internet from your home. If you have more computers that need to connect, you can spoof the MAC address of an authorized computer and connect from a different computer.
Change Windows MAC Address
You can change the MAC address for the network card in Windows pretty easily following the steps below.
Step 1: Click on Start, then Control Panel, then Network Connections, and right-click on the network connection you want to change the MAC address for and select Properties. It will normally either be Local Area Connection or Wireless Network Connection.

If you are using Windows Vista, Windows 7 or higher, you have to go to Control Panel, then Network and Internet, then Network and Sharing Center, and then click on Manage Network Connections or Change adapter settings.

Then you can right-click on the adapter and choose Properties.
Step 2: On the General or Networking tab, click the Configure button.

Step 3: Now click on the Advanced tab and click on the Locally Administered Address property or the Network Address property.

By default, the Not Present value is selected. Go ahead and click on the Value radio button and enter in a new MAC address. The MAC address is a combination of 6 pairs of numbers and characters, i.e. 40-A2-D9-82-9F-F2. You should enter the MAC address without the dashes.

You can go to the command prompt and type in IPCONFIG /ALL to check that the MAC address has been changed. Go ahead and restart the computer in order for the changes to take effect.
This is the simplest way to change your MAC address in Windows. You can also do so via the registry, but it’s much more technical and probably not required by most people.
Change OS X MAC Address
Changing the MAC address on OS X is definitely not as easy as it is on Windows. Firstly, you have to use Terminal (similar to command prompt in Windows) to actually change the MAC address.
Secondly, you need to manually figure out the technical name of the adapter before you can change the settings. I’ll explain everything below step by step, but it gets a bit complicated at times.
To start, let’s find out the current MAC address for your Mac. You can do this in one of two ways: via System Preferences or via Terminal. Open System Preferences, click on Network and then click on the Advanced button. Make sure to select the appropriate interface first (WiFi, Ethernet, etc) in the listbox on the left.

Click on the Hardware tab and you will see the first line is MAC Address. I thought you could simply choose Manually from the Configure dropdown, but that doesn’t allow you to edit the MAC address.

In Terminal, you can get the MAC address by typing in the following command:
ifconfig en0 | grep ether
This will give you the MAC address for the en0 interface. Depending on how many interfaces you have on your computer, you might need to run this command several times adding 1 to the number each time. For example, I ran the following commands below until I reached an interface that didn’t exist.

Now you can simply compare the MAC addresses listed here with the one you saw via System Preferences. In my case, my WiFi MAC address of f8:1e:df:d8:9d:8a matches with en1, so that is the interface I have to use for the next commands.
Before we change the MAC address, you can use a useful command in Terminal to generate a random MAC address if you need one.
openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
Now that you have a new MAC address, you can change the current one using the following command below. Replace XX with the actual MAC address you want to use.
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx
In order to do this, you need to be logged in as an Administrator or you have to enable the root account in OS X. By default, root is disabled and it’s better to leave it disabled if you can. Just login as an admin and you should be able to run the command just fine. It will ask you for your password, though, before changing the MAC address.
Also, the address won’t change if you are still connected to a WiFi network. You need to first disconnect from any networks and then run the command. Surprisingly, disconnecting from a wireless network in OS X is not intuitive at all. You have to press and hold the Option key and then click on the WiFi icon to see the disconnect option.

So here is a rundown of all the commands I ran in order to get the current MAC address, generate a random one, update the MAC address and then verify to make sure it had actually changed.

As I mentioned earlier, this is definitely not as straightforward as the process is on Windows, but you should be able to do it if you simply copy and paste the commands above. If you have any questions, feel free to post a comment. Enjoy!