差异保留的B类网络192.168与172.16 [英] Difference Reserved Class B Networks 192.168 vs 172.16

查看:200
本文介绍了差异保留的B类网络192.168与172.16的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我了解很久以前,过去曾经根据IP的第一个八位位组分配了有类地址.在这些类别中,每个类别都提供了专用IP地址范围.

So I understand that there used to be classful addresses allocated depending on the first octet of an IP a long time ago. Of those classes, private IP address ranges were given in each.

Class A 10.*.*.*
Class B 172.16-31.*.*
Class C 192.168.0-255.*

我了解,根据RFC 1918,因为192.168从技术上说是在C类范围内开始的,因此应将其视为256个C类网络.但是,由于192.168.xxx.xxx中有256个可用的C类网络,将其称为1个B类网络是否不正确?

I understand that according the RFC 1918, because 192.168 technically starts in the class C range, it should be considered 256 class C networks. However, because there are 256 available class C networks in 192.168.xxx.xxx, would it be incorrect to refer to this as 1 class B network?

推荐答案

网络"或子网"是一组IP号码,可以在不使用路由器的情况下相互连接.C类网络最多具有256个这样的IP地址.为了从一个子网到达另一个子网,需要一个路由器.您不能将192.168.xxx.yyy阻止为单个B类子网,因为192.168.1.xxx上的主机无法直接连接到192.168.2.xxx中的主机.主机位于不同的子网中.

A 'network' or 'subnet' is a set of ip-numbers that can connect to each other without the use of a router. A class C network has a maximum of 256 such ip-addresses. To get from one subnet to another subnet, a router is required. You can not call the 192.168.xxx.yyy block a single class B subnet, because the hosts at 192.168.1.xxx cannot directly connect to hosts in 192.168.2.xxx. The hosts are in different subnets.

192.168.xxx.yyy是256个私有C类网络的IP块.分类的网络假定特定IP范围的固定网络掩码.因此,对于192.168.xxx.yyy块中的网络,仅分类网络软件会将网络掩码设置为等于255.255.255.0(或/24).

192.168.xxx.yyy is an ip-block of 256 private class C networks. Classed networks assume fixed network masks for particular ip-ranges. So, for the networks in block 192.168.xxx.yyy, classed-only network software will set the network mask to be equivalent to 255.255.255.0 (or /24).

如今,大多数网络软件都忽略了网络的类别,并且要求所有IP号码模块都使用网络掩码.例如,如果使用网络掩码255.255.252.0,则可以将192.168.0.0到192.168.3.255用作包含1024个IP地址的单个无类子网.

Today most network software ignores the class of the network and will require a network mask for all ip number blocks. For instance, you can use 192.168.0.0 to 192.168.3.255 as a single classless subnet containing 1024 ip-addresses if you use network mask 255.255.252.0

这篇关于差异保留的B类网络192.168与172.16的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆