Network subnet bitmask configuration

Posted on
Tue Jan 23, 2018 4:27 pm
matlock offline
Posts: 41
Joined: Apr 17, 2009
Location: Atlanta Georgia

Network subnet bitmask configuration

Hey Karl;

Could you add /23 as an option for the network bit mask? I just noticed you added that back into the configuration on the latest version, and it broke my installation -- it can only see one of my two Class C networks (I ran out of address space on a single /24 network... long live IPv6 /64!).

If I stop the plugin, modify the com.karlwachs.fingscan.indiPref preferences file, changed the <netwType /> parameter to 23, and restart the plugin,, it works fine and sees the full network... but if I open the Configuration menu from the Plugin menu.. it wipes it out. For now, I've modified the PluginConfig.xml to include my option.

Also, I'm a little confused by you using the terms 8, 7, 6 bit, etc., for subnet definitions. I've been doing IPv4 networking for decades, and have never really heard it referenced by that -- I always hear and use 24, 25, 26, etc. An 8 bit network is traditionally a full class A network (16,777,214 addresses).... this isn't a big deal, but I would personally change the config menu to something like this, so the terminology matches what is shown in a majority of the DHCP settings in most routers/access points/firewalls:

Code: Select all
<Field defaultValue="24" id="netwType" type="menu" alignText="right">
    <List>
        <Option value="23">23 - 255.255.254.0 - 512 addresses</Option>
        <Option value="24">24 - 255.255.255.0 - 256 addresses</Option>
        <Option value="25">25 - 255.255.255.128 - 128 addresses</Option>
        <Option value="26">26 - 255.255.255.192 - 64 addresses</Option>
        <Option value="27">27 - 255.255.255.224 - 32 addresses</Option>
    </List>
    <Label>Network Subnet</Label>
</Field>

/j

Posted on
Tue Jan 23, 2018 4:50 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Network subnet bitmask configuration

Sure.

Does eg 27 start at 224 or at 0
I believe it can start at any number.
And it should read 224- 256?
??


Sent from my iPhone using Tapatalk

Posted on
Tue Jan 23, 2018 5:27 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Network subnet bitmask configuration

I’ve not read the current config as I don’t use this plugin, but I like how Matlock has defined it.

I never use /23, /24 notation etc cos I always confuse myself, so I use the 255.255..... notation.

Karl, 255.255.255.224 doesn’t mean .224-.256, it’s an inverted bit-mask which ultimately says you can use .1-.32

I think we use 255.255.240.0 at work which gives us 4096 IP addresses for student iPads, iPhones etc from 192.168.96.1-192.168.111.254 (I hope that adds up - doing it from memory!)

Suffice to say I’m nowhere near proficient as Matlock obviously is so please take his responses over mine.

Peter


Sent from my iPhone using Tapatalk Pro

Posted on
Tue Jan 23, 2018 6:11 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Network subnet bitmask configuration

Yes thats 12 bits or /20 I believe.

That’s seems to be clear. But if we want to do it right we should also consider the starting number.
It does not have to start at .0
255.255.255.128 /25 would be
128..255
And
255.255.255.0 /25
Would be 0..127.
Correct?



Sent from my iPhone using Tapatalk

Posted on
Tue Jan 23, 2018 6:50 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Network subnet bitmask configuration

Screen Shot 2018-01-23 at 18.48.29.png
Screen Shot 2018-01-23 at 18.48.29.png (24.01 KiB) Viewed 1606 times
Screen Shot 2018-01-23 at 18.48.37.png
Screen Shot 2018-01-23 at 18.48.37.png (81.07 KiB) Viewed 1606 times

would this be alright?

Posted on
Tue Jan 23, 2018 7:12 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Network subnet bitmask configuration

matlock wrote:
Also, I'm a little confused by you using the terms 8, 7, 6 bit, etc., for subnet definitions. I've been doing IPv4 networking for decades, and have never really heard it referenced by that


I've also been doing networking for decades and always have heard it that way. I remember getting my CCIE and having to know that by heart, blah. Maybe it was always there to confuse those who didn't do networking so they thought we were "more techie" or something, who knows :roll:

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests