Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E. R." Newsgroups: comp.os.linux.misc Subject: Re: Multi-Networking in Linux - Multiple Subnets Date: Sat, 1 Aug 2026 15:16:00 +0200 Lines: 73 Message-ID: References: <114fdad$1trk7$1@news1.tnib.de> <114kq1d$3joo1$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net cUNdpemw8JRebM06geVv6Qqn1VsL96v3hqQNXXqafvCU3KB/JV Cancel-Lock: sha1:liGs5wfJNVzFSl6MZS+aXtPSSvU= sha256:Ki5IU4S9Knzyv90lK1/Q/oWp7clU2RxL5BZkLqcyvUc= User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <114kq1d$3joo1$1@dont-email.me> Xref: csiph.com comp.os.linux.misc:89391 On 2026-08-01 14:49, Tauno Voipio wrote: > On 31.7.2026 14.51, Carlos E. R. wrote: >> On 2026-07-30 13:42, Marc Haber wrote: >>> "Carlos E. R." wrote: >>>> eth0: flags=4163  mtu 1500 >>>>          inet 192.168.2.9  netmask 255.255.0.0  broadcast >>>> 192.168.255.255 >>> >>> Using the entire 192.168.0.0/16 range for a single home network is a >>> sure sign of a person not knowing too much about networking or an >>> incompetent ISP. >>> >>>> Works for me as above :-) >>> >>> Until the moment you'd want to connect to another network. >> >> >> >> LOL. I asked just now ChatGPT for the ranges, and it said: >> >> | Private range                     | CIDR notation    | Number of >> addresses | Common use                                      | >> | --------------------------------- | ---------------- | >> ------------------: | ----------------------------------------------- | >> | **10.0.0.0 – 10.255.255.255**     | `10.0.0.0/8`     | 16,777,216 | >> Large enterprise networks, cloud infrastructure | >> | **172.16.0.0 – 172.31.255.255**   | `172.16.0.0/12`  | 1,048,576 | >> Medium to large private networks                | >> | **192.168.0.0 – 192.168.255.255** | `192.168.0.0/16` | 65,536 | Home >> routers and small office networks          | >> >> Notice the last line... :-D >> > > Specifications for those address ranges are in RFC1918. Yes, ChatGPT is citing that document. The most commonly used private IPv4 address ranges are defined by Internet Engineering Task Force in RFC 1918: | CIDR | Address Range | Number of Addresses | | ---------------- | --------------------------------- | ------------------- | | `10.0.0.0/8` | `10.0.0.0` – `10.255.255.255` | 16,777,216 | | `172.16.0.0/12` | `172.16.0.0` – `172.31.255.255` | 1,048,576 | | `192.168.0.0/16` | `192.168.0.0` – `192.168.255.255` | 65,536 | > I looked at the document itself on https://datatracker.ietf.org/doc/html/rfc1918: 3. Private Address Space The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) We will refer to the first block as "24-bit block", the second as "20-bit block", and to the third as "16-bit" block. Note that (in pre-CIDR notation) the first block is nothing but a single class A network number, while the second block is a set of 16 contiguous class B network numbers, and third block is a set of 256 contiguous class C network numbers. So, stop saying that `192.168.0.0/16` is wrong, or that 172.16/12 is wrong. -- Cheers, Carlos E.R. ES🇪🇸, EU🇪🇺;