Page 1 of 1

Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 12:31 am
by Taleb
Hello brothers
In fact, I have modest experience with networks and I have some questions about using the best IP for the local network?!
If we take for example
10.0.0.1
default Subnet mask (255.0.0.0)
And
192.168.20.1
default Subnet mask (255.255.255.0)

We note that the first IP belongs to class A and the second IP belongs to Class C
What is the best to use for privet network with less than 250 devices?!
Is there a technical difference between the two?
Will the first IP cause crowding in the network because of broadcast messages, given that it belongs to Class A? Or there is no difference?!

Best Regard.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 12:47 am
by abbio90
RFC 1918 indicates that the classes intended for private use are 192.168.0.0/16, 172.16.0.0/12 10.0.0.0/8. This means that if you want a /24 network you can use any of these.. eg. you could also use a 10.100.50.0/24 class

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 12:55 am
by Kanta
10.0.0.0/8 range is the way.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 1:58 am
by k6ccc
Any you listed will work. All of my LANs are 192.168.xxx.0/24. I see no reason to use anything larger.
In my case, I connect into the ham radio AREDN network which uses a 10.0.0.0/8 address range so that would create a conflict for me if I were to use 10.anything.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 4:06 am
by Amm0
Any you listed will work. All of my LANs are 192.168.xxx.0/24. I see no reason to use anything larger.
Agreed. e.g. devices (and people) expect 255.255.255.0 subnets...so you kind start needing to set subnet masks everywhere. Pro tip, the xxx in 192.168.xxx.0/24 can match a VLAN ID, which makes thing cleaner IMO.

Personally I'd avoid 192.168.1.0/24, 192.168.88.0/24, 192.168.0.0/24, 10.0.0.0/24 – those sometimes defaults, and so it's helpful if those don't overlap with your own networks.

If you need something bigger than /24, then yeah I'd use some non-default-ish subnet in 10.0.0.0/8 range – while we may live a CIDR classless world... keeping 192.168.xxx.0 as /24 (Class C's) still make sense IMO.

In my own scheme, I generally reserve the odd-ball 172.16.0.0/12's for PtP links or other routing/backbone/internal things.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 4:59 am
by k6ccc
Pro tip, the xxx in 192.168.xxx.0/24 can match a VLAN ID, which makes thing cleaner IMO.
That's the way all of mine are. Makes it easy for me to remember.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 3:44 pm
by rextended
10.0.0.0/8 range is the way.
Do you get paid to write bullshit?

*************

OT: Use 192.168.20.0/24

Offtopic:
Use 192.168.120.0/24 are unused as default for routers, and if you need to expand the local LAN and you can aggregate till 64 LAN in same pool 192.168.64.0/18
Do not use 10.x or 172.x because are used from dumb ISP that already have 100.64.0.0/10 but do not use it....

About the VLAN, is still valid the @Amm0 hint to use "x" for the VLAN in 192.168.x.0/24 where "x" can go from 64 to 127

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 4:24 pm
by mozerd
@Taleb
In the Private Address space there is no preferred or best … use whichever suites your intuition.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 11:33 pm
by anav
Definitly the one with more numbers 192 is better than 10, 168 is better than 0, 20 is better than 0.

Works for money right.

Or is smaller better? some would argue ;-)

+++++++++++++++++++++++++++++++++++++++++++++++++

Pick the one that you can remember the easiest...........
Personally I chose the one mozerd recommended.

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sat May 27, 2023 11:38 pm
by Jotne
I would not use a to large net like 10.0.0.0/8, use /24 mask for 254 devices. As anav writes, smaller is normally better (but big enough to meet your needs)
Also if you like to set up a VPN use a network that are less likely to be used by other, so skip 192.168.0.0/24 or 10.0.0.0/24.
Use for example 10.153 29.0/24

Re: Which the best IP 10.0.0.1 or 192.168.20.1 for local network?!

Posted: Sun May 28, 2023 12:22 pm
by anav
Damn you, I have been keeping that subnet a secret (private) ;-)