On Sat, 29 Apr 2023 at 16:04, o1bigtenor via talk <[email protected]> wrote:

> <snip>
> If I set up a router using the 192.168.1.1 I can access some 254
> distinct IP addresses from my router.
>
> If I set up a router using the 176.10.1.1 how many distinct IP
> addresses can I access?
>
> (I'm thinking some 64k worth but dunno!)
>

Just how many addresses do you need? If you need double the size of the
usual /24 (255.255.255.0) subnet, use the /23 subnet:
Router: 192.168.1.1
Subnet: 255.255.254.0 (the equivalent of /23)
In this case, your subnet will extend from 192.168.0.1 to 192.168.1.254
(512-2=510 addresses)

If you need four times the size of the /24 subnet, use the /22 subnet:
Router: 192.168.1.1
Subnet: 255.255.252.0 (= /22)
Your subnet: 192.168.0.1 to 192.168.3.254 (1024-2=1022 addresses)

Your router does not have to have its address end in .1, in fact it can
have any address in your subnet. If you insist on your router having the
very first IP address in your subnet, set it to 192.168.0.1 in the two
examples above.

Next time you connect to some public WiFi network, execute "ifconfig" to
see your IP address and your subnet. In my observations, airports WiFi
networks typically use the /22 subnets (up to 1022 addresses). Most
restaurants, McDonalds included, use /24 subnets, but I have seen ones that
use /23. I have not yet seen a public Wifi network that uses a /21 subnet
providing up to 2046 addresses.

To see where the address space in your IP subnet will begin and where it
will end, you can use this online IP subnet calculator:
https://www.calculator.net/ip-subnet-calculator.html
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to