Community discussions

MikroTik App
 
Taleb
just joined
Topic Author
Posts: 16
Joined: Tue Feb 04, 2014 3:13 am

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

Sat May 27, 2023 12:31 am

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.
 
abbio90
Member Candidate
Member Candidate
Posts: 164
Joined: Fri Aug 27, 2021 9:16 pm
Contact:

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

Sat May 27, 2023 12:47 am

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
 
Kanta
just joined
Posts: 17
Joined: Tue May 15, 2018 7:54 pm

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

Sat May 27, 2023 12:55 am

10.0.0.0/8 range is the way.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1490
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

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

Sat May 27, 2023 1:58 am

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.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3253
Joined: Sun May 01, 2016 7:12 pm
Location: California

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

Sat May 27, 2023 4:06 am

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.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1490
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

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

Sat May 27, 2023 4:59 am

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.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

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

Sat May 27, 2023 3:44 pm

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
 
User avatar
mozerd
Forum Veteran
Forum Veteran
Posts: 872
Joined: Thu Oct 05, 2017 3:39 pm
Location: Canada
Contact:

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

Sat May 27, 2023 4:24 pm

@Taleb
In the Private Address space there is no preferred or best … use whichever suites your intuition.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19104
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

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

Sat May 27, 2023 11:33 pm

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.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

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

Sat May 27, 2023 11:38 pm

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
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19104
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

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

Sun May 28, 2023 12:22 pm

Damn you, I have been keeping that subnet a secret (private) ;-)

Who is online

Users browsing this forum: Amazon [Bot], apitsos, moorezilla, orionren, pmcsill and 72 guests