 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] mac addresses domUs
 Anthony Valentine wrote: "You may also want to edit the vif variable in order to choose the MAC address of the virtual ethernet interface yourself. For example: 
This script will probably be useful
#!/bin/bash
prefix="00:16:3E"
mac="$prefix"
for seqnum in 1 2 3 ;do
       part=`dd if=/dev/random bs=1 count=1 2>/dev/null | xxd -ps -u`
       mac="$mac:$part"
done
echo $mac
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |