I would use pack and unpack here, a MAC is a hex number.
pack the start and end of range of MACs. Unpack again to get integers.
Pick random numbers in the range between the two integers then pack an unpack to hex again.
Cheers,
R.
In reply to Re: how to use conditional loops when using while loop
by Random_Walk
in thread how to use conditional loops when using while loop
by pcrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |