有类和无类路由的区别

本文深入探讨了Classful和Classless网络分类的区别,包括它们在网络路由、子网掩码使用和混合子网掩码配置上的特点。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转载自思科


Classful is based on the default Class A,B or C networks.

- Class A: 0 - 127 with a mask of 255.0.0.0 (/8)

- Class B: 128 - 191 with a mask of 255.255.0.0 (/16)

- Class C: 192 - 223 with a mask of 255.255.255.0 (/24)


All devices in the same routing domain must use the same subnet mask. Since routers running a classful routing protocol do not include subnet mask information with routing updates, the router assumes either its own subnet mask, or defaults to the classful subnet mask.


 

Classless on the other hand, allows the use of variable length subnet masks, or VLSM, because subnet mask information is included with routing updates. You can have a mixture of different subnet masks in the same routing domain:

- 10.1.0.0/19

- 10.2.0.0/20

- 172.16.8.0/21

- 172.16.16.0/24

Classful is based on the default Class A,B or C networks.

- Class A: 0 - 127 with a mask of 255.0.0.0 (/8)

- Class B: 128 - 191 with a mask of 255.255.0.0 (/16)

- Class C: 192 - 223 with a mask of 255.255.255.0 (/24)

All devices in the same routing domain must use the same subnet mask. Since routers running a classful routing protocol do not include subnet mask information with routing updates, the router assumes either its own subnet mask, or defaults to the classful subnet mask.

 

Classless on the other hand, allows the use of variable length subnet masks, or VLSM, because subnet mask information is included with routing updates. You can have a mixture of different subnet masks in the same routing domain:

- 10.1.0.0/19

- 10.2.0.0/20

- 172.16.8.0/21

- 172.16.16.0/24

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值