📜  有类路由和无类路由的区别

📅  最后修改于: 2021-09-27 22:54:52             🧑  作者: Mango

有类路由:
有类路由不导入子网掩码。并且在路由更新后也提供了子网掩码。在有类路由中,子网掩码始终相同,并非所有设备都不同,我们可以在给定的图片中看到它。在有类路由中,不支持 VLMS(可变长度子网掩码)和 CIDR(无类域间路由)。

无类路由:
无类路由导入子网掩码,并在此使用触发更新。在无类别路由中,支持 VLMS(可变长度子网掩码)和 CIDR(无类别域间路由)。在无类路由中,hello 消息用于检查状态。在无类路由中,子网掩码始终不相同,可能因设备而异,我们可以在给定的图片中看到。

让我们看看有类路由和无类路由的区别:

S.NO Classful Routing Classless Routing
1. In classful routing, VLMS(Variable Length Subnet Mask) is not supported. While in classless routing, VLMS(Variable Length Subnet Mask) is supported.
2. Classful routing requires more bandwidth. While it requires less bandwidth.
3. In classful routing, hello messages are not used. While in classless routing, hello messages are used.
4. Classful routing does not import subnet mask. Whereas it imports subnet mask.
5. In classful routing, address is divided into three parts which are: Network, Subnet and Host. While in classless routing, address is divided into two parts which are: Subnet and Host.
6. In classful routing, regular or periodic updates are used. Whereas in this, triggered updates are used.
7. In classful routing, CIDR(Classless Inter-Domain Routing) is not supported. While in classless routing, CIDR(Classless Inter-Domain Routing) is supported.
8. In classful routing, subnets are not displayed in other major subnet. While in classless routing, subnets are displayed in other major subnet..
9. In classful routing, fault can be detected easily. While in classless routing, fault detection is little tough.