-
Notifications
You must be signed in to change notification settings - Fork 0
Ensure IPs generated are within 100.64/10 range. #3
Comments
|
Correction. 100.64.0.0-100.127.255.255 are valid. What Commotion does is a "modulo operation" so that the 4th segment of the MAC address is converted to fit within that range like so: 01=64, 02=65, 03=66 etc up until 39=127 Example: DC:9F:DB:39:05:A8 = 100.127.0.0 and DC:9F:DB:40:05:A8 = 100.64.0.0 This process repeats again until DC:9F:DB:FF:05:A8 which is somewhere in the 60's I believe. Curiously, Commotion does this INCORRECTLY because it doesn't use 64 as the first converted number and only goes up to 125 as the last number. We can ignore the way they do this and do it the right way. |
"Correction. 100.64.0.0-100.127.255.255 are valid." Indeed! This outputs the list of the 4,194,304 valid addresses: # nmap -sL -n 100.64.0.0/10 |
That’s a neat trick. |
THIS is what the ranges should look like: |
This is the script that @mizerydearia created for configuring openwrt to use for IP addresses. Updated by Drew from Zhrodrague
|
Can you put that into a preformatted block with three backticks before and after it? On Feb 4, 2016, 15:41, at 15:41, Adam Longwill [email protected] wrote:
|
I tried doing that with no success. I'll try again On Thu, Feb 4, 2016 at 5:55 PM, Colin Dean [email protected] wrote:
|
Fixed. |
pull request #4 Note: @drewzhrodague's changes haven't been applied. |
rattle |
Searching at https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries for All MAC (MA-L, MA-M, MA-S) with keyword 'Ubiquiti' (entered in filter textbox below) In addition to mac addresses beginning with DC-9F-DB I see references to:
|
Yeah. The HTML version of the calculator generates IPs for all of those ranges. Sounds like an enhancement to the Perl and Shell versions is in order. |
100.64.0.0-100.127.0.0 are the valid IPs.
The text was updated successfully, but these errors were encountered: