<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Random MAC address generator</title>
	<atom:link href="http://osxdaily.com/2010/11/10/random-mac-address-generator/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Fri, 24 May 2013 05:38:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: x</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-550488</link>
		<dc:creator>x</dc:creator>
		<pubDate>Sat, 20 Apr 2013 13:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-550488</guid>
		<description>The one from Holger is correct:
printf &#039;%02x:&#039; $(( 0x$(od /dev/urandom -N1 -t x1 -An &#124; cut -c 2-) &amp; 0xFE &#124; 0x02)) ; od /dev/urandom -N5 -t x1 -An &#124; cut -c 2- &#124; sed &#039;s/ /:/g&#039;</description>
		<content:encoded><![CDATA[<p>The one from Holger is correct:<br />
printf &#8216;%02x:&#8217; $(( 0x$(od /dev/urandom -N1 -t x1 -An | cut -c 2-) &amp; 0xFE | 0&#215;02)) ; od /dev/urandom -N5 -t x1 -An | cut -c 2- | sed &#8216;s/ /:/g&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hidayat</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-459802</link>
		<dc:creator>Hidayat</dc:creator>
		<pubDate>Mon, 03 Dec 2012 07:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-459802</guid>
		<description>I am change mn my mac address but my computer not conectinge in conecting other wi-fi.in conctinge other computer this wi-fi.
in my password is carickd.</description>
		<content:encoded><![CDATA[<p>I am change mn my mac address but my computer not conectinge in conecting other wi-fi.in conctinge other computer this wi-fi.<br />
in my password is carickd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hidayat</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-459800</link>
		<dc:creator>Hidayat</dc:creator>
		<pubDate>Mon, 03 Dec 2012 07:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-459800</guid>
		<description>How to change mac address in nokia n8?</description>
		<content:encoded><![CDATA[<p>How to change mac address in nokia n8?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Holger</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-403916</link>
		<dc:creator>Holger</dc:creator>
		<pubDate>Mon, 02 Jul 2012 21:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-403916</guid>
		<description>And with bash calculation use this:

printf &#039;%02x:&#039; $(( 0x$(od /dev/urandom -N1 -t x1 -An &#124; cut -c 2-) &amp; 0xFE &#124; 0x02)); \
  od /dev/urandom -N5 -t x1 -An &#124; cut -c 2- &#124; sed &#039;s/ /:/g&#039;</description>
		<content:encoded><![CDATA[<p>And with bash calculation use this:</p>
<p>printf &#8216;%02x:&#8217; $(( 0x$(od /dev/urandom -N1 -t x1 -An | cut -c 2-) &amp; 0xFE | 0&#215;02)); \<br />
  od /dev/urandom -N5 -t x1 -An | cut -c 2- | sed &#8216;s/ /:/g&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Generate and Set a Random Valid MAC Address from the Command Line in OS X</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-384594</link>
		<dc:creator>Generate and Set a Random Valid MAC Address from the Command Line in OS X</dc:creator>
		<pubDate>Wed, 02 May 2012 17:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-384594</guid>
		<description>[...] shown you how to generate MAC addresses randomly and then how to go about changing a MAC address in OS X Lion and OS X Mountain Lion, but why have [...]</description>
		<content:encoded><![CDATA[<p>[...] shown you how to generate MAC addresses randomly and then how to go about changing a MAC address in OS X Lion and OS X Mountain Lion, but why have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waffletower</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-348652</link>
		<dc:creator>waffletower</dc:creator>
		<pubDate>Fri, 02 Mar 2012 09:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-348652</guid>
		<description>The ruby snippet was broken.  I don&#039;t know ruby.  I love perl though:

perl -e &#039;printf &quot;\n%02x:&quot;, $x=(int(rand(128))*2); for($i=0;$i&lt;4;$i++){printf &quot;%02x:&quot;,$x=int(rand(256));}printf &quot;%02x&quot;, $x=int(rand(256));printf&quot;\n\n&quot;;&#039;</description>
		<content:encoded><![CDATA[<p>The ruby snippet was broken.  I don&#8217;t know ruby.  I love perl though:</p>
<p>perl -e &#8216;printf &#8220;\n%02x:&#8221;, $x=(int(rand(128))*2); for($i=0;$i&lt;4;$i++){printf &quot;%02x:&quot;,$x=int(rand(256));}printf &quot;%02x&quot;, $x=int(rand(256));printf&quot;\n\n&quot;;&#039;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to spoof your MAC address in Mac OS X</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-346583</link>
		<dc:creator>How to spoof your MAC address in Mac OS X</dc:creator>
		<pubDate>Tue, 28 Feb 2012 20:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-346583</guid>
		<description>[...] that value returned from ifconfig to another hex value in the format of aa:bb:cc:dd:ee:ff. You can generate a random one if need [...]</description>
		<content:encoded><![CDATA[<p>[...] that value returned from ifconfig to another hex value in the format of aa:bb:cc:dd:ee:ff. You can generate a random one if need [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hide the &#8216;Backup&#8217; share of MyBook World Edition II in Mac OS X&#8217;s Finder &#171; mackonsti</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-258916</link>
		<dc:creator>Hide the &#8216;Backup&#8217; share of MyBook World Edition II in Mac OS X&#8217;s Finder &#171; mackonsti</dc:creator>
		<pubDate>Thu, 20 Oct 2011 18:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-258916</guid>
		<description>[...] note that the MAC address above is not the real one of my drives but a generated fake, for the sake of understanding the [...]</description>
		<content:encoded><![CDATA[<p>[...] note that the MAC address above is not the real one of my drives but a generated fake, for the sake of understanding the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-189171</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 07 Apr 2011 19:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-189171</guid>
		<description>Thanks Ben and bob for this.</description>
		<content:encoded><![CDATA[<p>Thanks Ben and bob for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-182992</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Thu, 17 Mar 2011 08:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-182992</guid>
		<description>&quot;(rand*64).to_i&quot; should be written as &quot;(rand 64)&quot;
&quot;(rand*256).to_i&quot; should be written as &quot;(rand 256)&quot;</description>
		<content:encoded><![CDATA[<p>&#8220;(rand*64).to_i&#8221; should be written as &#8220;(rand 64)&#8221;<br />
&#8220;(rand*256).to_i&#8221; should be written as &#8220;(rand 256)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Stoltz</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-131554</link>
		<dc:creator>Ben Stoltz</dc:creator>
		<pubDate>Thu, 11 Nov 2010 07:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-131554</guid>
		<description>ruby -e &#039;print (&quot;%02x&quot;%((rand*64).to_i*4&#124;2))+(0..4).inject(&quot;&quot;){&#124;s,x&#124;s+&quot;:%02x&quot;%(rand*256).to_i} + &quot;\n&quot;&#039;

The result is a locally administered, non-multicast MAC address.</description>
		<content:encoded><![CDATA[<p>ruby -e &#8216;print (&#8220;%02x&#8221;%((rand*64).to_i*4|2))+(0..4).inject(&#8220;&#8221;){|s,x|s+&#8221;:%02x&#8221;%(rand*256).to_i} + &#8220;\n&#8221;&#8216;</p>
<p>The result is a locally administered, non-multicast MAC address.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-131420</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 10 Nov 2010 22:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-131420</guid>
		<description>You need to be careful that this does not generate multicast mac addresses, as these are technically illegal as source macs. The strict definition of a multicast mac address is one where the least significant bit of the first byte is set to 1. So if the first octet&#039;s LSB is 1 (01, 03,05, a1, etc) you technically have a multicast mac source. See http://en.wikipedia.org/wiki/MAC_address.

Using multicast src macs might not cause immediate connectivity problems, but certainly has implications for switches learning the mac address preventing unicast flooding, and routers allowing arp to resolve.

Cisco, for example, will not allow mac learning if the source is non-unicast, and Cisco routers will not install arp entries for multicast macs to unicast ip addresses. 

I think you need to rethink this post taking into consideration these consequences.</description>
		<content:encoded><![CDATA[<p>You need to be careful that this does not generate multicast mac addresses, as these are technically illegal as source macs. The strict definition of a multicast mac address is one where the least significant bit of the first byte is set to 1. So if the first octet&#8217;s LSB is 1 (01, 03,05, a1, etc) you technically have a multicast mac source. See <a href="http://en.wikipedia.org/wiki/MAC_address" rel="nofollow">http://en.wikipedia.org/wiki/MAC_address</a>.</p>
<p>Using multicast src macs might not cause immediate connectivity problems, but certainly has implications for switches learning the mac address preventing unicast flooding, and routers allowing arp to resolve.</p>
<p>Cisco, for example, will not allow mac learning if the source is non-unicast, and Cisco routers will not install arp entries for multicast macs to unicast ip addresses. </p>
<p>I think you need to rethink this post taking into consideration these consequences.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: first</title>
		<link>http://osxdaily.com/2010/11/10/random-mac-address-generator/#comment-131366</link>
		<dc:creator>first</dc:creator>
		<pubDate>Wed, 10 Nov 2010 18:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=8066#comment-131366</guid>
		<description>I always just concoct random hex strings in my head, this is a bit less brain work so thanks</description>
		<content:encoded><![CDATA[<p>I always just concoct random hex strings in my head, this is a bit less brain work so thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.003 seconds using disk: basic
Object Caching 322/322 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-24 17:01:58 -->