provide a sample mac so randmac knows what the output format should be. If you wish to change the mac address format. You can from randmac import RandMac and use it like RandMac(). Where M stands for the manufacturer or vendor, and S stands for the NIC specific portion. This means you will always see x2, 圆, xA, or 圎 at the beginning of a MAC address generated by randmac. The optional -f argument will return a random 12-digit MAC address that can be identified by the locally administrated address (LAA) format. A utility that generates 12-digit mac addresses either the NIC portion or full 12-digit MAC.
0 Comments
Leave a Reply. |