Chinaunix首页 | 论坛 | 博客
  • 博客访问: 200781
  • 博文数量: 75
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 970
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-11 09:44
文章存档

2010年(5)

2009年(18)

2008年(52)

我的朋友

分类:

2008-07-07 17:25:02

Generating MAC Address For Xen And VMware Guests

Generating MAC address for Xen and VMware guests

Although Virtual Machine Monitor (VMM) producing companies like XenSource and VMware don't manufacture physical network adapters, they do provide virtual ones. Thus, they have their own OUIs.

In fact, VMware has two OUIs. "00-0c-29" for automatically generated MAC addresses, and "00-50-56" for MAC addresses that are manually set.

For VMware dynamic MAC address, the first 3 fields are 00:0c:29, and the remaining 3 fields are random.

For VMware static MAC, the first 3 fields are 00:50:56, and the remaining 3 fields are random, with the first bit of the first random field set 0.

XenSource has OUI "00-16-3e". For Xen guests MAC address, the first 3 fields are "00:16:3e", and the remaining 3 fields are random, with the first bit of the first random field set 0.

You can use the shell script , which is derived from , to generate for Xen and VMware guests.

You also can use the python tool , which is derived from xend, to generate MAC address for Xen guests.

Reference

  1. .
  2. - Create virtual machines for VMware Player.
阅读(390) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~