in reply to MAC Address Incrementor
in thread Increment MAC address
You have an off-by-one error. Specifying one increment shows the start value and no increments.
>perl macIncrementor.pl 65535 1 2 00:00:00:00:FF:FF <-- Should be 00:00:00:01:00:00 00:00:00:01:00:00 <-- Should be 00:00:00:01:00:01
It really sucks to have to convert the address to decimal before being able to use the program.
>perl macIncrementor.pl 999 1 2 00:00:00:00:03:E7 00:00:00:00:03:E8 <-- Should be 00:00:00:00:09:9A
And most importantly, it only works for 0.000015 of the address space on a 32-bit Perl.
>perl macIncrementor.pl 17179869184 1 2 00:00:FF:FF:FF:FF 00:00:FF:FF:FF:FF <-- Should be 00:04:00:00:00:01
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MAC Address Incrementor
by wilcoxc (Initiate) on Mar 11, 2008 at 05:14 UTC |